Q1. Based on the two tables and the attributes below, write SQL commands for each question to retrieve the data from the database. tbiSales tblCustomer InvoiceDate CustomerNane Custometaddress Customeraddress CustomerCity CustomerState CustomerZipCode CustomerTelephone SalesOrderNumber CustomerPrimaryContadt Write the SQL for the following quiries a. List customers who live in New York State b. List customers with credit limits greater than $50,000. Q2. Draw the relationship with indication of multiplicity between sales class and cash receipt class satisfying the following rules (draw two boxes for two classes, name them and connect the line, then indicate the mutiplicity in the parenthesis like (1,') or any appropriate numbers inside.) a. b. c. Each sales can be made on credit (without payment) Installment payments are possible Each cash payments received is only for one sales order Q1. Based on the two tables and the attributes below, write SQL commands for each question to retrieve the data from the database. tbiSales tblCustomer InvoiceDate CustomerNane Custometaddress Customeraddress CustomerCity CustomerState CustomerZipCode CustomerTelephone SalesOrderNumber CustomerPrimaryContadt Write the SQL for the following quiries a. List customers who live in New York State b. List customers with credit limits greater than $50,000. Q2. Draw the relationship with indication of multiplicity between sales class and cash receipt class satisfying the following rules (draw two boxes for two classes, name them and connect the line, then indicate the mutiplicity in the parenthesis like (1,') or any appropriate numbers inside.) a. b. c. Each sales can be made on credit (without payment) Installment payments are possible Each cash payments received is only for one sales order