Professional Documents
Culture Documents
Supplier Product: R2 : Lab 1: Algebraic Query Language
Supplier Product: R2 : Lab 1: Algebraic Query Language
Supplier Product: R2 : Lab 1: Algebraic Query Language
b. Find name and address of all suppliers who supply television product.
R5 : FullName Gender 'female' and Type 'Television' InvoiceLine Invoice Product Employee
f. Find name and address of suppliers who supply both television and
mobile.
R61 : SupplierName, address type 'television' Product Supplier
R62 : SupplierName, address type 'mobile' Product Supplier
R63 : R 61 R62
g. List name and price of all product sold by employee “Nguyễn Văn A”
in April 2018.
h. Find name and price of all mobile products of Samsung sold in April
2018.
R8 : ProductID, Name, Type SellPrice all( SellPrice ( Product)) Product
j. Find the amount (quantity * sellPrice) of each invoice line of product
sold in 30/04/2018.
SupplierName 'Samsung'and Type 'television' and Type 'mobile'and Type 'tablet' Product
R1 : (InvoiceLine)
R2 : (R1)
(R1.ProductIDR2.ProductID and R1.InvoiceID R2.InvoiceID and R1.quantity R2.quantity) R1 x R2
(Quantity0) InvoiceLine
f. There is no invoice without product.