我有一个带有表的样本数据是测试
name | catid | date
------------
abc | 1
def | 2
ghi | 1
jkl | 2
mno | 1
pqr | 3
我的查询
SELECT * FROM test WHERE catid = 1 AND catid = 2 AND catid = 3 ORDER BY date DESC
如何通过结果获得价值是
name | catid
------------
abc | 1
def | 2
pqr | 3