Question: IN SQL: From the PVF database find all orders placed by customers located in NJ and all orders that requested Product #8. Write a SQL

IN SQL: From the PVF database find all orders placed by customers located in NJ and all orders that requested Product #8. Write a SQL UNION statement such that only one column, with heading OrderID, appears in the results. Show both the SQL commands and the Microsoft Access output results.

IN SQL: From the PVF database find all ordersIN SQL: From the PVF database find all ordersIN SQL: From the PVF database find all ordersIN SQL: From the PVF database find all orders

CustomerState FL TX + CustomerPostalCode 32601 75094 12209 07008 94206 NY + NJ CA + + CO 80514 Customer_T X 3 Order_T X Orderline_T X Product_TX Customerid CustomerName CustomerAddress CustomerCity Contemporary Casuals 1355 S Hines Blvd Gainesville 2 Value Furniture 15145 S.W. 17th St. Plano 3 Home Furnishings 1900 Allard Ave. Albany 4 Eastern Furniture 1925 Beltline Rd. Carteret 5 Impressions 5585 Westcott Ct. Sacramento 6 Furniture Gallery 325 Flatiron Dr. Boulder 7 Period Furniture 394 Rainbow Dr. Seattle 8 Calfornia Classics 816 Peach Rd. Santa Clara 9 Mand H Casual Furniture 3709 First Street Clearwater 10 Seminole Interiors 2400 Rocky Point Dr. Seminole 11 American Euro Lifestyles 2424 Missouri Ave N. Prospect Park 12 Battle Creek Furniture 345 Capitol Ave. Sw Battle Creek 13 Heritage Furnishings 66789 College Ave. Carlisle 14 Kaneohe Homes 112 Kiowai St. Kaneohe 15 Mountain Scenes 4132 Main Street Ogden WA 97954 + + CA 96915 FL 34620 . FL 34646 NJ 07508 + + MI PA 49015 17013 + + + HI 96744 84403 UT * * + Customer_) X Order_T X Orderline_TX Product T X ProductID Product Description ProductFinish - Product Standard Price + 1 End Table Cherry $175.00 2 Coffe Table Natural Ash $200.00 3 Computer Desk Natural Ash $375.00 4 Entertainment Center Natural Maple $650.00 5 Writers Desk Cherry $325.00 6 8-Drawer Desk White Ash $750.00 7 Dining Table Natural Ash $800.00 8 Computer Desk Walnut $250.00 + + + + + * + + Customer_1 X Order_1 X Orderline_T X Product Orderid - OrderDate CustomerlD Click to Add 1001 10/21/2020 1 1002 10/21/2020 8 1003 10/22/2020 15 1004 10/22/2020 5 1005 10/24/2020 3 1006 10/24/2020 2 1007 10/27/2020 11 1008 10/30/2020 12 1009 11/5/2020 4 1010 11/5/2020 1 + + + + + * Customer_TX Order_T X Orderline_T X Product_T OrderID - ProductiD - Ordered Quantity OrderedQuantity - Click to Add 1001 1 2 1001 2 2 1001 4 1 1002 3 5 1003 3 3 1004 6 2 1004 8 2 1005 4 4 1006 4 u NN 3 m NN 1006 5 1006 7 1007 1 1007 1008 WNWW NWNN 00WN 1008 1009 4 1009 7 1010 00 8 10

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 General Management Questions!