The code for customerPayments.sql is: DROP VIEW IF EXISTS customerPayments; CREATE VIEW customerPayments AS SELECT customerName, checkNumber, paymentDate, amount FROM customers INNER JOIN payments USING (customerNumber);