Subject: Views
Posted By: prashar Post Date: 12/12/2005 9:09:12 AM
S(S#, SNAME, STATUS, CITY) PRIMARY KEY (S#)

P(P#, PNAME, COLOR, WEIGHT, CITY)PRIMARY KEY (P#)

J( J#, JNAME) PRIMARY KEY (J#)

SPJ( S#, P#, J#, QTY) PRIMARY KEY (S#,P#,J#)

question. create a view consisting of supplier tuples for supliers that are located in London

Ans
create view vw_london

as
select * from s where city = 'london'

Is this right

Reply By: jbenson001 Reply Date: 12/13/2005 1:10:40 AM
Test it and find out.


Go to topic 37549

Return to index page 418
Return to index page 417
Return to index page 416
Return to index page 415
Return to index page 414
Return to index page 413
Return to index page 412
Return to index page 411
Return to index page 410
Return to index page 409