Skip to content

USING

SELECT * FROM Employees;
| ID | Name | Department |
|----|------|------------|
| 1 | Amy | HR |
| 2 | Ben | Finance |
| 3 | Carl | IT |

In this SQL statement, SELECT * FROM Employees; is executed, which selects all the data from the Employees table. The ‘Output’ section shows the table displaying the result of the previous SQL statement. The table includes columns ‘ID’, ‘Name’, ‘Department’. The rows show the data of each employee in the ‘Employees’ table.