Suppose you have the following table in SQL Server: VENDOR_STORE (VendorID, VendorName, VendorPhone, StoreID, StoreName) And you
Fantastic news! We've Found the answer you've been seeking!
Question:
Suppose you have the following table in SQL Server:
VENDOR_STORE (VendorID, VendorName, VendorPhone, StoreID, StoreName)
And you wish to transform this table into two tables as follows:
VENDOR (VendorID, VendorName, VendorPhone)
STORE (StoreID, StoreName, VendorID)
Write the SQL statements needed for filling the VENTOR and STORE tables with data from VENDOR_STORE.
NOTE: These tables are NOT in SQL Server, but you should use SQL Server to create your SQL code and then copy and paste it in the solution area below.
Related Book For
Database Processing Fundamentals, Design, and Implementation
ISBN: 978-0133876703
14th edition
Authors: David M. Kroenke, David J. Auer
Posted Date: