Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need some help with these queries. It would be too much to provide the tables and their fields, but any help is apprecited immensely!

I need some help with these queries. It would be too much to provide the tables and their fields, but any help is apprecited immensely!

Query8- Write an SQL query that shows the CustomerLastname, CustomerFirstName, SaleDate, EmployeeLastName and Employee Phone number for all sales made. Please name the query field columns as CustomerLastname, CustomerFirstName, EmployeeLastName and EmployeePhone. * You can use the AS keyword in the SELECT statement for this**

Query 9- Write an SQL query that shows customer ID and combines Lastname,FirstName in to one field separated by commas and another field that shows the total of all the sales the customer made with tax. (Note this refers to the Total field in the SALE table) Query 10- Write an SQL query that shows the VendorID, CompanyName, and count of the number of items supplied by that vendor.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions