SQL commandsSQL objects and access to data are managed through SQL commands. Standard SQLsupports a relatively small command set. You might think this would make SQL easy touse, but this is not necessarily the case. Options and conditional clauses can causeindividual command strings to become quite extensive. To the uninitiated, they can besomewhat cryptic. For example:SELECT mail.ship_code, mail.ship_date, count (mail.resp_code)FROM mailWHERE resp_code <> 0000GROUP BY mail.ship_code, mail.ship_dateORDER BY mail.ship_dateIn most cases, the best way to make a SQL database available to end-users is through aclient application that makes queries more user-friendly. Another common accessmethod is through the Internet, specifically through Web browsers. SQL Server givesyou the option of generating Extensible Markup Language (XML) output.Transact-SQL (T-SQL)Any time a command is passed to Microsoft SQL Server, it is done so using Transact-SQL, even when using the graphic management and administration tools, though youmight not realize it. Graphic tools take the action you want to perform, such as creatinga table, and generate the necessary T-SQL statements for you.There are three basic categories of T-SQL statements:Data definition—Used to create and modify databasesData manipulation—Used to enter, modify, and extract dataData control—Used to manage access to SQL Server data.T-SQL statements include control-of-flow statements, local variables, and other featuresthat let you write batches, short programs, and scripts (collections of batches).