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, 3042🔥, 0💬
Popular Posts:
How To Drop a Stored Procedure in Oracle? If there is an existing stored procedure and you don't wan...
What Privilege Is Needed for a User to Delete Rows from Tables in Another Schema in Oracle? For a us...
Where to find answers to frequently asked questions I am new to Oracle database. Here is a list of f...
How To Convert Numeric Expression Data Types using the CAST() Function in SQL Server Transact-SQL? I...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...