+ 1

CAN SOMEONE HELP ME WIT HMY CODE

You are given the following suppliers table : Write a query to output the information about all suppliers who are not in London or Paris. Combine the WHERE statement and the NOT IN operator. Also, don't forget to use parentheses. select * from suppliers where city NOT IN ('london' or 'Paris');

5th Oct 2021, 2:27 PM
Charles Nwokobia
8 Réponses
+ 2
NOT IN ( 'London', 'Paris' ); Separate them by comma.
5th Oct 2021, 2:48 PM
Ipang
+ 2
select * from suppliers where city not in('London','Paris') and status is not Null order by name ASC;
14th Mar 2023, 12:01 PM
Berhanu Tsehay
Berhanu Tsehay - avatar
0
All seems good
5th Oct 2021, 2:38 PM
Machine_Learner
Machine_Learner - avatar
0
yea but solo learn keeps telling me that its wrong for what ever reason
5th Oct 2021, 2:45 PM
Charles Nwokobia
0
Case sensitive "London"
5th Oct 2021, 2:46 PM
Machine_Learner
Machine_Learner - avatar
0
SELECT*FROM SUPPLIERS WHERE CITY NOT IN('London','Paris');
17th Oct 2021, 6:42 AM
Ruby Maharjan
Ruby Maharjan - avatar
0
SELECT*FROM SUPPLIERS WHERE CITY NOT IN('London','Paris') and status is not NULL;
12th Mar 2023, 1:59 PM
Berhanu Tsehay
Berhanu Tsehay - avatar
0
Please answer
28th Apr 2023, 9:33 PM
Tomasz Pajak
Tomasz Pajak - avatar