PostgreSQL - Subqueries in PostgreSQL
Which of the following is the correct way to write a query that selects rows where a column value is less than
ALL values returned by a subquery in PostgreSQL?ALL values returned by a subquery in PostgreSQL?ALL and a subquery in parentheses.column < ALL (subquery). SELECT * FROM table WHERE column < ANY (SELECT value FROM other_table); uses ANY, which is different. SELECT * FROM table WHERE column = ALL (SELECT value FROM other_table); uses = ALL, which is valid but not the requested comparison. SELECT * FROM table WHERE column IN ALL (SELECT value FROM other_table); uses IN ALL, which is invalid syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions