Hi guys,
need to mention - i'm new to this game, have a strong object oriented programming background but now need to catch up with sql

ok, my problem:
as a proof of concept for my uni assignment I have built a db with few tables for a online car rental company. you can rent a car with few extras like AC etc. There are 7 car groups, each with different tariff, based on the country in which the branch is. so I have a tables like: rental (RentalPK, CustomerFK, BranchFK, VehicleFK, StartDate, EndDate ...), rental_extra_item (RntlExtraPK, ExtraName, ExtraPrice), rental_all_item (RentalFK, RntlExtraFK, TariffFK).
Question is how can I calculate the total cost of all extras in the rental order (there may be up to seven, all with different prices).
Sorry if its all a bit too long or confusing, its my first ever post on this forum

Also didn't post any actual sql code 'cos really don't have a clue where to start

Thanks in advance for any advice people !!
