31. Select All Employees
EasyDatabases~3 min
Write a query that returns every column and every row from the employees table.
This is the simplest query there is, and it is the one you will type most often while exploring an unfamiliar database.
Examples
Example 1
- Input:
- employees
- Output:
- all 8 rows, with the columns id, name, department_id, salary, hired_on
Constraints
Return every column.Row order does not matter.Column names are not checked — only the values and how many columns you return.