SQL Database urgent question

Jan 6th, 2014
Anonymous
Category:
Programming
Price: $5 USD

Question description

 


 

ID


 

 

NAME


 

 

ADDRESS


 

 

P_CODE


 

 

RATING


 

 

123


 

 

Brown,
  James


 

 

1 Victoria
  Rd. Glasgow


 

 

G2 2RB


 

 

1


 

 

456


 

 

Smith, Mark
  E.


 

 

100 Oxford
  Rd. Manchester


 

 

M18 2RX


 

 

2


 

 

789


 

 

Black,
  Pauline


 

 

37 High St.
  Coventry


 

 

CV1 5KA


 

 

3


 




 

 

 

Another table represents the customer orders with attributes: ORDER_NO, DATE, CUST_ID,
STOCK_ID, QUANTITY.


Identify the primary key and foreign key relationships to the customer
table.

 

The primary key should be ID? And what will be the foreign key and why?

 

Thanks.

Tutor Answer

(Top Tutor) Veedeoo
School: UT Austin

Studypool has helped 1,244,100 students

Review from student
Anonymous
" Outstanding Job!!!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1824 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors