A database administrator needs to audit all records to find…

A database administrator needs to audit all records to find any discrepancies between employee data and project assignments. They need a list that includes all employees, all project assignments, and matches them up where possible. Employees Table: EmployeeID FirstName LastName 101 Sarah Connor 102 John Doe 103 Jane Smith ProjectAssignments Table: ProjectID EmployeeID P1 101 P2 102 P3 104 Which of the following SQL queries would produce a list of employees who have a project assigned?

Write a SQL query to display PostalCodes, Number of Customer…

Write a SQL query to display PostalCodes, Number of Customers in PostalCode As NumCustomers, Number of Customers placing orders, and TotalSales in those postal codes. Requirement: Limit results for postal codes where sales have totaled to greater than 1000000   NOTE: Each customer is identified by custID TotalSales is calculated using sum of TotalDue  

A company wants to create a report showing the names of all…

A company wants to create a report showing the names of all employees who have been assigned to a project. They need to match employee records with project assignments to see who is currently active on a project. Employees Table: EmployeeID FirstName LastName 101 Sarah Connor 102 John Doe 103 Jane Smith ProjectAssignments Table: ProjectID EmployeeID P1 101 P2 102 P3 104 Which of the following SQL queries would produce a list of employees who have a project assigned?

A business wants to find customers who meet all of the follo…

A business wants to find customers who meet all of the following criteria: their last name starts with ‘P’, they live in either ‘California’ or ‘Nevada’, and their customer ID is in a specific list of IDs (105, 120, 135). Which of the following SQL statements will correctly retrieve the data from a Customers table?