4. The SELECT Statement
Overview
This chapter illustrates how to query data from a database, and how we can order them. By the end of this chapter, you will be able to select a specific number of columns, order and sort results, use naming aliases with the AS
clause, filter your search results using the LIMIT
and DISTINCT
keywords, and combine and use SELECT with mathematical operations.