Answer:
CREATE VIEW UNPAID_TOTAL AS
SELECT fname,lname,adtype, streetaddr,city,state,country,zip,
CASE WHEN c.paid IN ('false') THEN sum(Amount)
else "NULL"
end as Bill
FROM PERSON a
JOIN ADDR b
ON a.idnum=b.idnum
JOIN BILLING c
on c.idnum=a.idnum
group by fname,lname,adtype, streetaddr,city,state,country,zip;
Step-by-step explanation: