MOST
select
Insert into
The Select Top clause is a programming command used with SQL or Structured Query Language. SQL is one of the main languages used in managing databases. The Select Top clause is used to specify the number of records to return from a query on the database.
Exists
MOST
DISTINCT
select
The use of sorting information in SQL is to organize database query results. Typically the data can be sorted in either ascending or descending order. The "Order By" command can be used to sort data in SQL by multiple columns.
with the keyword int: eg: declare @myIntegerVariable int
The SQL SELECT DISTINCT StatementIn a table, some of the columns may contain duplicate values. This is not a problem, however, sometimes you will want to list only the different (distinct) values in a table. The DISTINCT keyword can be used to return only distinct (different) values.SQL SELECT DISTINCT SyntaxSELECT DISTINCT column_name(s) FROM table_name
The SQL statement used to update data in a database is the "UPDATE" statement. It allows you to modify existing records in a table by specifying the column and value you want to update based on certain conditions. Additionally, you can use the "SET" keyword to assign new values to specific columns in the table.
BETWEEN For example: SELECT columnName FROM tableName WHERE columnName BETWEEN '1' AND '20'
The SQL inner join keyword is used to select every row from a table so long as there is a match between the columns of both the tables. This allows many permutations of listings to be made in specified tables.
distinct keyword displays only unique values. eg.if there is a deprtment_id called 140 for thrice means it will diaplays only once. select distinct department_id from departments
Asc & desc
T-SQL is Microsoft's version of the generic SQL langauge to be used with, for example, Microsoft SQL Server.