+ 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');
8 Réponses
+ 2
NOT IN ( 'London', 'Paris' );
Separate them by comma.
+ 2
select * from suppliers
where city not in('London','Paris')
and status is not Null
order by name ASC;
0
All seems good
0
yea but solo learn keeps telling me that its wrong for what ever reason
0
Case sensitive "London"
0
SELECT*FROM SUPPLIERS
WHERE CITY NOT IN('London','Paris');
0
SELECT*FROM SUPPLIERS
WHERE CITY NOT IN('London','Paris')
and status is not NULL;
0
Please answer