Collections:
Selecting Some Specific Columns from a Table in SQL Server
How To Select Some Specific Columns from a Table in a Query in SQL Server?
✍: FYIcenter.com
If you want explicitly tell the query to return some specific columns, you can specify the column names in the SELECT clause. The following select statement returns only three columns, "id", "created" and "url" from the table "fyi_links":
SELECT id, created, url FROM fyi_links id created url 101 2006-04-30 dev.fyicenter.com 102 2007-05-19 dba.fyicenter.com 103 2007-05-19 sqa.fyicenter.com
⇒ Selecting Some Specific Rows from a Table in SQL Server
⇐ Selecting All Columns of All Rows from a Table in SQL Server
⇑ Using SELECT Statements and GROUP BY Clauses in SQL Server
2016-10-26, 3554🔥, 0💬
Popular Posts:
How To Generate CREATE VIEW Script on an Existing View in SQL Server? If you want to know how an exi...
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
How To Fix the INSERT Command Denied Error in MySQL? The reason for getting the "1142: INSERT comman...