sql语句,查询表A,判断表A是否有数据,有则连同查出表C的数据,没有则答:这个可以下列SQL语句予以实现 select col1,col2,col3 from A where exists (select 1 from A)unionselect col1,col2,col3 from B where not exists (select 1 from A)union select col1,col2,col3 from C;如果A\B\C三表数据结构一样,可用*号取代输出字段列表 请参见下列实验结果 ...