能否用java判断出执行的select语句是多表还是单表查询,
方法力求简单,请高手指教
例如 1.select a1 from taba 单表查询
2.select a1,b1 from taba a ,tabb b where a.id=b.id 多表查询
3. select a1 from taba union select b1 from tabb 多表查询
...全文
18916打赏收藏
java操作数据库的问题
能否用java判断出执行的select语句是多表还是单表查询, 方法力求简单,请高手指教 例如 1.select a1 from taba 单表查询 2.select a1,b1 from taba a ,tabb b where a.id=b.id 多表查询 3. select a1 from taba union select b1 from tabb 多表查询