4

如何在一个子句中有多个 AND 条件?就像SELECT * FROM database WHERE x=x,y=y AND z=z我试过那样,它没有工作。谢谢。

4

2 回答 2

14
SELECT * FROM table WHERE x=x AND y=y AND z=z
于 2012-07-18T16:18:42.087 回答
7
SELECT * FROM database WHERE `x`=x AND `y`=y AND `z`=z
于 2012-07-18T16:19:44.830 回答