Hi,
I have 4 tables that look kind of like this:
Customer
customerID
LastName
StorageUnit
Rent
WarehouseID
Warehouse
Warehouse ID
Unit Rental
CustID
WarehouseID
The Unit Rentals are records of customer rentals, and the rent is the price per unit. The units are in 3 different warehouses.
I have to group the information by warehouse and show the name of the renter by last name, include rent per unit, total rent per each warehouse, and a grand total for all warehouses.
Any help is much appreciated, thanks!