有没有这样的sql语句. sql语句问题.有没有这样的sql语句select * from table1 where id in [0,1,2]这个肯定是错的,in在sql中好象是指定数据源的,而我是想选择id在一个数组中的值. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table1 where id in (0,1,2) select * from table1 where id like '[012]'或select * from table1 where id in ('0','1','2')如果ID是数值型可以直接用select * from table1 where id in (0,1,2) 新年 and 升星 = 新年好运 在新窗体中打开image,就会出错,为什么? 忍无可忍,考 请资深delphi高手回答 关于radioGroup内的值怎么通过adoquery输入的问题?? 谁能告诉我,Image怎么知道被单击? 怎么能让用户不能结束正在启动的程序? 在一个comboBox下拉菜单中自动加入一数据库中某一字段的所有值,应该如何做? 关于Access数据库压缩两问!50分,正确立刻结贴给分! Query1.IsEmpty 等于是Query1.open后再判断有没有值吗?? 求助 delphi调用vc编写的dll,传出参数问题
或
select * from table1 where id in ('0','1','2')
如果ID是数值型
可以直接用
select * from table1 where id in (0,1,2)