SQL Select Column

In this, we retrieve all data from particular column.


SELECT Name FROM Student;



Output

Name
Rahul
Karan
Rocky
Ajay

With 2 Column names


SELECT Name,Age FROM Student;



Output

NameAge
Rahul19
Karan25
Rocky23
Ajay20

In This Way, You can add more column to show all records of specified column.

Back To Top