SQL AND & OR

同时使用AND和OR运算符的SQL语句Sample如下:

SELECT * FROM Persons WHERE (FirstName='Thomas' OR FirstName='William')
AND LastName='Carter';
posted @ 2013-03-14 15:33  wsjisji  阅读(350)  评论(0编辑  收藏  举报