1 B CA
现在我要写个SQL语句 查出index为0,name为B的所有记录 我的想法是select * from table where index = 0 or name = 'A'; 请各位指点下
...全文
545打赏收藏
关于SQL语句
比如我有张表数据如下 index name type 0 A CA 0 A CB 0 A CB 1 B CA 1 B CA 1 B CA 现在我要写个SQL语句 查出index为0,name为B的所有记录 我的想法是select * from table where index = 0 or name = 'A'; 请各位指点下