What is SQL and how is it different from languages like JavaScript?
SQL is adeclarativeprogramming language. In declarative languages, programmersdescribethe results they want and the programming environment comes up with its own plan for getting those results.
How do you retrieve specific columns from a database table?
Use the select keyword followed by the name of the column
How do you filter rows based on some specific criteria?
Use the select and where clause; expression that evaulates to true or false
What are the benefits of formatting your SQL?
For readability
What are four comparison operators that can be used in a where clause?
> < = !=
How do you limit the number of rows returned in a result set?
Keyword limit followed by a number for the number of rows
How do you retrieve all columns from a database table?
Select *
How do you control the sort order of a result set?
Keyword order by column name ___ (default is ascending) and if want descending put desc