Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
SQL Basics
Summary

Instruction

Good. The easiest SQL query we can write looks like this:

SELECT *
FROM employee;

An asterisk (*) in SQL means "every column". The query above simply selects all data from the employee table. As a result, we'll see all columns and all rows from the table. As simple as that!

Exercise

First, let's select all the information from the hotel table.

Stuck? Here's a hint!

Type:

SELECT *
FROM hotel;