Consider the following schema: Parts(pid: string, pname: string, description: st
ID: 3650476 • Letter: C
Question
Consider the following schema:Parts(pid: string, pname: string, description: string, color: string)
Departments(did: string, dname:string, address: string)
Suppliers(sid:string,sname:string, address:string)
Order(did:string, sid: string, pid:string, time:string, quantity:real, price:real)
The key fields are underlined, and the domain of each field is listed after the field name. Thus pid is the key for Part, did is the key for Department, sid is the key for Supplier, and did, sid,and pid together form the key for Order. Write the following queries in Relational algebra.
Find the names of Suppliers.
Find the parts that are red.
Find the names and addresses of departments.
Find the names and addresses of departments that have ordered a red part.
Find the names of parts which are ordered by the