SQL Basic SQL query

SQL basics to retrieve data from a database table

SELECT columnname FROM tablename The first thing you should learn is how to retrieve data from a database. You do this by typing in Select column namn From table name. To search all columns, use * instead of column names. To specify which columns you want to display data from, enter their names.