Assume a database has the following tables;
CUSTOMER (CustomerSK, Name, Phone, EmailAddress)
STOVE (SerialNumber, Type, Version, DateofManufacture)
REGISTRATION (CustomerSK, SerialNumber, Date)
STOVE_REPAIR (RepairInvoiceNumber, SerialNumber, Date, Description, Cost, CustomerSK)
Write the SQL code to accomplish the following requests.
1. Show all the data in each of the four tables. Do not show foreign key columns.
2. List the names and e-mail addresses for all customers who have had a stove repair that cost more than $50.
3. List all the versions of stoves that are of a type "Maytag" and they have not spent any money on repairs.