PostgreSQL AND条件与WHERE子句一起使用, 以从表的多个列中选择唯一数据。
句法:
SELECT column1, column2, ..... columnN
FROM table_name
WHERE [search_condition]
AND [search_condition];
执行以下查询:
SELECT *
FROM "EMPLOYEES"
WHERE "SALARY" = '65000'
AND "ID" <= 4;
输出
评论前必须登录!
注册