select c.name, c.city, o.'total invoice', o.'amount paid'
from "cust.dbf" c, "orders.db" o
where c.'cust_no' = o.'customer no'