Select query in MS SQL Server

We use Select Query to select data from database which is stored in table, here is the simple select query example using SQL.

Select Query Examples

Example 1:

Select * from Your_table_name;

The following Query use to select all columns from a row, (*) this symbol select all rows and column from a table.

Example 2:

Select column_1, column_2 from your_table_name;


If you want select few columns or want to select any particular column from a table so here is the query. This query is to select single, multiple or any columns from a table. 

Comments

Popular posts from this blog

Disable right click, Inspect Element and page source using JavaScript in Html and asp.net

Like Operator In Sql Server