Concept explainers
SELECT statement:
It is used to retrieve information from the table or
Syntax:
SELECT * FROM table_Name;
ORDER BY Clause:
SQL contains “ORDER BY” clause in order to sort rows. The values get sorted in ascending as well as descending order. The keyword used to sort values in ascending order is “ASC” and for descending order is “DESC”. By default, it sorts values by ascending order.
Syntax:
SELECT column_Name1, column_Name2 FROM table_Name ORDER BY column_Name2;
LEFT JOIN keyword:
“LEFT JOIN” keyword is used to return all the records from the left side table and also return the matched records from the right side table.
Syntax:
SELECT col_Name FROM table_Name1 LEFT JOIN table_Name2 ON table_Name1.col_Name = table_Name2.col_Name;

Want to see the full answer?
Check out a sample textbook solution
Chapter 7 Solutions
EP MINDTAPV2.0 FOR CORONEL/MORRIS'S DAT
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology Ptr


