DBMS Create/Insert/Update SQL I need the create, insert, and update SQL statement for this table as if...

70.2K

Verified Solution

Question

Programming

DBMS Create/Insert/Update SQL

I need the create, insert, and update SQL statement for thistable as if it were being added to MySQL (please give explanationsfor each line of SQL code and a copy of the code as it would beentered into the query by itself:

Customer
PKCustomer IDText
Phone Numberint
nametext
address IDint
emailtext
FKvendor IDint

Vendor is the name of the table the FK comes from.

Answer & Explanation Solved by verified expert
3.7 Ratings (640 Votes)
1 Sql Query for creating vendor table create table VendorvendorID int primary key vendorname varchar100 primary key synatx is used to create primary key 2 Sql Query for creating Customer table create table    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students