1 / 4

Work-in

Solution for the Quiz –Problem 1. DID. names. salary. names. EID. Can be Pkey. Work-in. emp. dept. manage. DID. quantity. ID. description. names. names. carries. item. dept. names. address. price. SID. supply. supplier. quantity. Ship addr. id. ID. description. date.

Download Presentation

Work-in

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Solution for the Quiz –Problem 1 DID names salary names EID Can be Pkey Work-in emp dept manage

  2. DID quantity ID description names names carries item dept names address price SID supply supplier

  3. quantity Ship addr id ID description date name Order-detail item order Can be empty ? • Each manager’s salary is higher than all other employees in the dept he/she manages • Each item must be at least supplied by three suppliers

  4. Multiplicity • Comes from UML. Some ER or EER apply this notation. • One constraint which is specified in the form (min,max) to specify the limit on participation. • Each item must be supplied from at least three suppliers ---(3,*) • the total participation => (1,*) • The partial participation=>(0,*) • Key constraint=>(0,1) • Can we combine the above to express (3,*)?

More Related