8 lines
293 B
SQL
8 lines
293 B
SQL
/*15. Write a query to extract the data from the customer table if and only if one or more of the customers in the customer
|
|
table are located in London.*/
|
|
SELECT customer_id,cust_name, city
|
|
FROM customer
|
|
WHERE EXISTS
|
|
(SELECT *
|
|
FROM customer
|
|
WHERE city='London'); |