SQL Select Query – SQL TUTORIAL | Software Testing Material

SQL Select Query:

SQL Select Query is used to select data from a Database.

Syntax:

or

where * represents all the columns of the table.

Example:

To get all the records from a table. I have a sample table named ‘SCOREBOARD’. Using the Select query, we could get all the records from the table.

Check this post on how to create a table in SQL.

How To Create Table in SQL

SQL Select Query

To get particular column records from a table using SQL Select Query:

Syntax:

Example:

By using the below code, we could fetch just from one particular column say ‘Playername’ from the table ‘SCOREBOARD’

SQL Select Query

In the next tutorial, we will see How To Use Where Clause In SQL

Check out the complete SQL Tutorial by clicking on below link:

SQL Tutorial – Complete

SQL Select Query

Get our latest blog posts delivered to your inbox

Subscribe and get popular blog posts about software testing industry.

Rajkumar

Leave a Comment

Share via
Copy link
Powered by Social Snap