You are on page 1of 1

SELECT Practice Problems

1. Create a list of all columns and rows in the employees table.

2. Create a list that includes the country_name and region_id of all records in the wf_countries table.

3. Create a list of department_ids and department_names sorted by department_id.

4. Create a list of country names, capitols and area but only for region 9, sort list by country_name.

5. Create a list of all countries that begin with the letter ‘S’.

6. Create a list of countries that have a highest elevation between 5000 and 6000 sorted from highest to lowest.

7. Create a list of employee’s names who do not receive commission.

8. Create a list of all employees showing current salary as well as a 5% salary increase called “Salary Increase”.

9. Create a list that includes the first initial of every employee's first name, a space, and the last name of the employee called
“Employee Names”.

10. Create a list of every employee's first name concatenated to a space and the employee's last name, and the email of all
employees where the email address contains the string 'IN', sorted by email address.

11. Create a list of all region_ids in the wf_countries table, only show each region_id once.

Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

You might also like