Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Week 1 Performance Assessment: WHERE and ORDER BY Clauses The following questions come from the Check your understanding examples of each section of Chapter 2
Week Performance Assessment: WHERE and ORDER BY Clauses
The following questions come from the Check your understanding examples of each section of
Chapter in your textbook.
After you are finished, please submit the Microsoft Word file that contains screenshots of the SQL
statements and output. Be sure to include a comment line with your name at the start of each SQL
statement. Your document should be named WPAWhereOrderByStatementsLastname.docx.
Question :
List the first name, last name, and department code of the employees in the LEMPLOYEES table
that have department codes SAL, SHP and ACT. Do this using an in condition.
Question :
List the employee ID first name, and last name of the employees in the LEMPLOYEES table that
have an employee ID between and
Question :
List the employee ID first name, and last name of the employees in the LEMPLOYEES table that
have an employee ID that contains a number
Question :
List all the columns of the LEMPLOYEES table for rows that contain a null in the managerID
column.
Question :
List the departmentname column from the LDEPARTMENTS table. Give this column a new
name of dept. Put the rows in ascending order. Write this SQL in two different ways.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started