Three relational schemas are given below. Customer (custom…
Three relational schemas are given below. Customer (customerID, email, address, age) Product (productID, name, description) Order (productID, productQuantity, customerID, shippingDate) NOTE: Express each of the provided information needs as a relational algebra query using only projection (π), selection (σ), renaming (ρ), inner joins (⋈), set union/intersection (∪, ∩), and division (/). You may write your queries using either the symbol (i.e. π) using the ‘Insert Math Equation’ option or the operations’ word terminology (i.e. projection). (1) Find the ID’s of customers which have ordered a quantity greater than 50 of any product. (2) Find the ID’s of products which have been ordered by a customer between 18 and 24 years old (inclusive).
Read Details