[quote=引用 楼主 tiantanglyz 的回复:] 我的数据窗口的select语句中有用到表别名“select col1,col2 from table1 t1”,在取col1的dbname时取出来的是table1.col1而不是t1.col1,如果我要在原sql 语句中用dbname来加where条件就没有办法加(加where table1.col1='1' 会报错,必须是where t1.col1='1'),有什么办法能取到t1.col1吗?
我的数据窗口的select语句中有用到表别名“select col1,col2 from table1 t1”,在取col1的dbname时取出来的是table1.col1而不是t1.col1,如果我要在原sql 语句中用dbname来加where条件就没有办法加(加where table1.col1='1' 会报错,必须是where t1.col1='1'),有什么办法能取到t1.col1吗?
394
社区成员
1.1w+
社区内容