Free Querying Microsoft SQL Server tutorial, T-SQL queries include the SELECT statement, selecting columns, labeling output columns, restricting rows and modifying a search condition. T-SQL identifiers, meanwhile, are used in all databases, servers, and database objects in SQL Server.