You are on page 1of 1

SQL ALIAS is used to temporarily rename the table names and column headings.

SQL ORDER BY Clause is used to sort the data in either Ascending order or Descending order.
Ex :SELECT [FirstName],[LastName],[YearlyIncome],[Education],[Occupation]FROM [Customer]ORDER
BY [YearlyIncome]
Ex: SELECT [FirstName] + ' ' + [LastName] AS [Full Name]
,[YearlyIncome]
,[Education]
,
[Occupation]
FROM [SQL Server Tutorials].[dbo].[Customer]
ORDER BY [Full Name] ASC

SQL TOP Clause is used to restrict number of rows that are returned by the query.
SQL INSERT Statement is used to add new records into SQL Server tables, or to insert data
into SQL tables

You might also like