Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e883474

Browse files
committed
06_query_data.sql
1 parent 98b509a commit e883474

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

06_query_data.sql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- 1. Write a query to retrieve all the data from the "employees" table.
2+
3+
select *
4+
from employees;
5+
6+
-- 2. Write a query to retrieve the first and last names of all employees from the "employees" table.
7+
8+
select first_name, last_name
9+
from employees;
10+
11+
-- 3. Write a query to retrieve the employee_id, first name, last name and email of all employees from the "employees" table.
12+
13+
select employee_id, first_name, last_name, email
14+
from employees;

0 commit comments

Comments
 (0)