We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Revising the Select Query I
Revising the Select Query I
Sort by
recency
|
926 Discussions
|
Please Login in order to post a comment
Make sure to wrap 'USA' in single quotes — double quotes won’t work for string values in SQL. Found a quick guide that breaks this down clearly.
SELECT * FROM CITY WHERE COUNTRYCODE ='USA' AND POPULATION > 100000;
select * from city where (countrycode="USA") and (population>100000); Why is this answer wrong
SELECT * FROM CITY Where COUNTRYCODE = 'USA' AND POPULATION > 100000; SELECT * FROM CITY Where POPULATION > 100000 AND COUNTRYCODE = 'USA' ;
I just want to know what is the difference ???
SELECT * FROM CITY Where COUNTRYCODE = 'USA' AND POPULATION > 100000;