Question: Consider a database with following schema. This database records information about chefs (including name, birth date, birth city and rating), and the dishes they prepare.

Consider a database with following schema. This database records information about chefs (including name, birth date, birth city and rating), and the dishes they prepare. For each dish, the database records dish name and its popularity score. CHEF(cid\#, Chef_Name, ChefBirthDate, ChefBirthCity,Rating) DISH(did\#, Dish_Name, Popularity) PREPARE(cid\#,did\#) / cid is a chef's unique identier did is a dish's unique identier cid references Chef.cid and did references Dish.did / Q2)a) Create a view which can be used to find dish id, dish name and number of the chefs if this dish is prepared by more than four chefs and also this view must force all data modification statements. b) Modify the created view in a as to find dish id, name of the dish and number of the chefs if this dish is prepared by more
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
