POSTGRESQL 创建表
POSTGRESQL 运算符
POSTGRESQL 选择数据
POSTGRESQL 函数
POSTGRESQL 加入表

Menu
×
×
正确

练习:

完成select语句,使其返回所有品牌为“Ford”或品牌为“Volvo”的汽车。

提示:使用逻辑或运算符

SELECT * FROM cars WHERE brand = 'Ford' OR brand = 'Volvo';
SELECT * FROM cars WHERE brand = 'Ford' OR brand='Volvo';
SELECT * FROM cars WHERE brand = 'Volvo' OR brand = 'Ford';
SELECT * FROM cars WHERE brand = 'Volvo' OR brand='Ford';
SELECT * FROM cars WHERE brand = 'Ford' OR brand LIKE 'Volvo';
SELECT * FROM cars WHERE brand = 'Volvo' OR brand LIKE 'Ford';

不正确

点击 此处 重试

正确

下一题 ❯
SELECT * FROM cars
WHERE brand =  ;







×

重置分数?