Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 . Use the Pine Valley Furniture ( PVF ) database for this question. Write a SQL query to display the order number, customer
Q Use the Pine Valley Furniture PVF database for this question. Write a SQL query to display the order number, customer number, order date and items ordered for the customer with ID of
Q Use the Pine Valley Furniture PVF database for this question. Write a SQL query to display each customer ID and name who has bought computer desks, showing total number of orders and the total number of units bought by each customer.
Use the Pine Valley Furniture PVF database for this question. Write a SQL query to display the customer ID name, state, and order ID for all customer orders. For those customers who do not have any orders, include them in the display once.
Q Use the AP database for this question. Create an insert statement to add a new vendor in the AP database. The new vendor information is as follows:
VendorID
VendorName My Express Corp
VendorAddress PO Box
VendorAddress Dept A
VendorCity Wichita
VendorState KS
VendorZipCode
VendorPhone
VendorContactLName Williams
VendorContactFName Joe
DefaultTermsID
DefaultAccountNo
Q Use the AP database for this question. Write a SQL query that returns one column from the Vendors table named Full Name. Create this column from the VendorContactFName and VendorContactLName columns. Separate the last name and first name by a comma for example Doe John Sort the result by last name, then by first name.
Q Use the AP database for this question. Modify the SQL statement in the previous exercise to filter for contacts whose last name begins with the letter A B C or E
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