The two main components are the SELECT and FROM clauses. The Select is used to retrieve data from one or more tables. The FROM clause is to specify from where to retrieve the data (table(s), view, and stored procedures).