比如我有张表数据如下
index   name  type0        A      CA0        A      CB0        A      CB1        B      CA1        B      CA1        B      CA
现在我要写个SQL语句 查出index为0,name为B的所有记录 我的想法是select * from table where index = 0 or name = 'A'; 请各位指点下