Product(pname, price, category, maker), Purchase(buyer, seller, store, product), Company(cname, country), Person(name, address, phone); maker →…

Product(pname, price, category, maker), Purchase(buyer, seller, store, product), Company(cname, country), Person(name, address, phone); maker → Company.cname, buyer/seller → Person.name, product → Product.pname. Draw the ER diagram, then write the queries.

(a) People who bought products made by American companies.

(b) Total value of products per country of origin (listed, and actually sold).

From the NWPGCL Assistant Manager (ICT) January 2024 – Written (BUET) exam, question 2 of 5.

More from this paper