表A:
select 语句如下:
select id,datatime,z,wt,q from A where datediff(hh,datatime,getdate())=0 and id in(select id from C) select id,datatime,z,wt,
select 语句如下:
select id,datatime,z,wt,q from A where datediff(hh,datatime,getdate())=0 and id in(select id from C) select id,datatime,z,wt,