Data Query Language in MySql

Data Query Language is used to extract data from the database. It doesn't modify any data in the database. It describes only one query: SELECT. The DQL statements are the most used statements in SQL language. DQL statements

  • select
The select statement is the only DQL statement and is used to get data from existing tables Examples of select statement use:
  • Select all the data from the table
select * from table_name;
  • Select only some data from the table
select column1,column2 from table_name;
The select command is very important in SQL