mysql查询语句,A表中有cat_id字段,想查询所有cat_id为13和14的数据。语句怎么写?

2025-03-24 17:46:44
推荐回答(2个)
回答1:

select * from A as a where a.cat_id in (13,14);

回答2:

select * from A where A.cat_id in (13,14);