Revising the Select Query I

Sort by

recency

|

926 Discussions

|

  • + 3 comments

    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.

  • + 0 comments

    SELECT * FROM CITY WHERE COUNTRYCODE ='USA' AND POPULATION > 100000;

  • + 1 comment

    select * from city where (countrycode="USA") and (population>100000); Why is this answer wrong

  • + 4 comments

    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 ???

  • + 0 comments

    SELECT * FROM CITY Where COUNTRYCODE = 'USA' AND POPULATION > 100000;