0

could anyone please share a query using the 'in' operator?

16th Feb 2016, 10:18 AM
Nirab Gouda
Nirab Gouda - avatar
3 Réponses
+ 1
SELECT *FROM CUSTOMERS WHERE CITY IN('LOS ANGELES','NEW YORK');
21st Mar 2016, 8:07 PM
Anfas Kabeer Shaheer
Anfas Kabeer Shaheer - avatar
+ 1
SELECT * FROM CUSTOMER WHERE ID IN (SELECT DISTINT(CUSTOMERID) FROM ORDERS)
2nd Sep 2016, 4:44 PM
Luis Arce
Luis Arce - avatar
0
SELECT * FROM SDET WHERE TOOL IN ('MFG123', 'MFG245', 'MFG300') AND TESTDATE BETWEEN '04/23/2016' TO '05/02/2016'
3rd May 2016, 12:08 PM
Jonathan P. Montero
Jonathan P. Montero - avatar