select f1 from b_compte go select f1,f2 as ff2 from b_compte t1, b_titre t2 go select f1,f2 as ff2 from b_compte as t1, b_titre t2 go select * from b_compte t1, b_titre t2 go select count(*) from b_compte go select count(*) as cc from b_compte go select count(*) from b_compte where a=b go select count(*) from b_compte where a=b and b=c or c=d go select count(*) from b_compte where a-1=b+1+2 and b=c or c=d go select count(*) from b_compte where (a-1=b+1+4) and b=c or c=d go select count(*) from b_compte where a < 1 go select count(*) from b_compte where a < trim(1,"allo") go select count(*) from b_compte where a < trim(2,"allo") go select count(*) from b_compte where a < trim(3,"xoxo") go select top 10 * from b_compte go select top 10 * from b_compte where a < b < c go select top 10 * from b_compte where a = b and a in (1,2,3) go select top 10 * from b_compte where a = b and a not in (1,2,3) go select top 10 * from b_compte where a = b and a in ('1',"2",'3') go select top 10 * from b_compte where a = b and a like '%hello%' go select top 10 * from b_compte where a = b and a not like '%hello%' go select top 10 * from b_compte where a = b and a not like '%hello%' group by f1,f2 order by f1 asc, f2 desc go select top 20 toto0, convert(1,2,3) as toto, toto2 from b_compte go select bidule = f1 + 1 from b_compte go select a,b from b_compte t1 join b_client on b_compte.no_compte = b_client.no_compte go select a,b from b_compte t1 join b_client on b_compte.no_compte = b_client.no_compte join b_titre on b_titre.security=b_compte.security go select a,b from b_compte t1 left outer join b_client on b_compte.no_compte = b_client.no_compte go select a,b from b_compte t1 join (select secur,firme from b_titre where secur=firme) t2 on t1.no_compte = t2.secur go select a from b_compte where a in (select user_num from b_user) go select a,b from b_compte t1 join b_client bcli on b_compte.no_compte = b_client.no_compte go update b_compte set a=1+b, b=2 where no_compte = 2 go update b_compte set a=1+b, b=2 from #comptes where no_compte = 2 go update b_compte set a=1+b, b=2 from #comptes t1 where no_compte = 2 go update b_compte set a=1+b, b=2 from b_compte t1 join b_titre on b_titre.compte=t1.compte where no_compte = 2 go delete b_compte where a=1+b and b