mysql where 加 多个 或者条件

select * from table where id=1 and uid=2 and (status=2 or status=3 or status=4);

posted @ 2013-09-11 15:23  静心聆听  阅读(5093)  评论(0编辑  收藏  举报