Select Individual Columns
This statement will return the columns PhoneNumber, Email, and PreferredContact from all rows of the Customers table. Also the columns will be returned in the sequence in which they appear in the SELECT clause.
If multiple tables are joined together, you can select columns from specific tables by specifying the table name before the column name: [table_name].[column_name]
*AS OrderId means that the Id field of Orders table will be returned as a column named OrderId. See selecting with column alias for further information.
To avoid using long table names, you can use table aliases. This mitigates the pain of writing long table names for each field that you select in the joins. If you are performing a self join (a join between two instances of the same table), then you must use table aliases to distinguish your tables. We can write a table alias like Customers c or
Customers AS c. Here c works as an alias for Customers and we can select let's say Email like this: c.Email.