Database Management SystemTU Board 2024
Consider the following employee database, where primary keys are underlined Supplier (supplier id, supplier name, city) Suppliers (Supplier id, parts id, quantity) Parts (part id, par name, color,…
10Consider the following employee database, where primary keys are underlined Supplier (supplier-id, supplier-name, city) Suppliers (Supplier-id, parts-id, quantity) Parts (part-id, par-name, color, weight) a) Write a SQL query to create above table. b) Find the name of all suppliers who has supplied parts with quantity more than 100 and the name of all parts supplied by "RD Traders" c) Find the number of parts supplied by "S02" d) Find the name of suppliers located in city "KTM".
A worked answer is on its wayMeanwhile, read the Database Management System notes for this topic.
Discussion
Loading…
More Database Management System questions
Define transaction. Describe ACID properties with example. [1+4]TU Board 20265Explain physical data independence and logical data independence. [2.5+2.5]TU Board 20265What is stored procedure? Describe statement level trigger and multi row enabled trigger? [1+4]TU Board 20265Define schedule and serializability with example. How can you test the serializability? [2+3]TU Board 20265What is data model? What are its types? [1+4]TU Board 20265Define query processing and steps in query processing. [1+4]TU Board 20265