The document provides 4 examples of SQL queries using the ANY, ALL, and SOME operators. The first query selects customers whose ratings are equal to or greater than any of Serres' ratings. The second query finds salespeople with no customers in their city using ANY or ALL. The third query selects orders with amounts greater than any order for customers in London. The fourth query rewrites the third query using MIN or MAX.
The document provides 4 examples of SQL queries using the ANY, ALL, and SOME operators. The first query selects customers whose ratings are equal to or greater than any of Serres' ratings. The second query finds salespeople with no customers in their city using ANY or ALL. The third query selects orders with amounts greater than any order for customers in London. The fourth query rewrites the third query using MIN or MAX.
The document provides 4 examples of SQL queries using the ANY, ALL, and SOME operators. The first query selects customers whose ratings are equal to or greater than any of Serres' ratings. The second query finds salespeople with no customers in their city using ANY or ALL. The third query selects orders with amounts greater than any order for customers in London. The fourth query rewrites the third query using MIN or MAX.
1) Write a query that selects all customers whose ratings are equal to or greater than ANY of Serres. 2) Write a query using ANY or ALL that will find all salespeople who have no customers located in their city. 3) Write a query that selects all orders for amounts greater than any for the customers in London. 4) Write the above query using MIN or MAX.
WIN (2019-20) SWE2006 ELA AP2019205000374 Reference Material I 19-Dec-2019 WIN (2019-20) SWE2006 ELA AP2019205000612 Reference Material I 17-Dec-2019 SQL1