Question: Lab 03: Data Manipulation In this Lab we assume that you already have the Agents table with sample data inserted into it. If you don't

 Lab 03: Data Manipulation In this Lab we assume that you

Lab 03: Data Manipulation In this Lab we assume that you already have the Agents table with sample data inserted into it. If you don't have that table or you are using the Oracle Live SQL, you will need to create the Agents table and add data to it by copying and pasting the content of the file "Lab02_Data.txt" into an SQL Editor, then execute it. Provide the SQL statements that answer the following tasks: 1- How many agents are there? 2- What is the minimum, the average, and the maximum salaries of all agents? 3- What is the number of agents living in New York state and the sum of their salaries? 4- How many agents have NULL email addresses? 5- How many agents work in the branch B002 and have salaries greater than $40000? 6- How many different branches are there? 7- What is the number of agents in each state? 8- What is the number of agents in each branch and the average of their salaries

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!