Database schema: create table Locations (CloseTime time, Deleted integer, EquipmentInspectionInterval integer, Id integer primary key, LocationNumber varchar(20), FreightCodeId integer FK->FreightCodes.id, MaxLoadPerTimeslot integer, IsOpen24Hours integer, LanguageId integer FK->Languages.Id, Name varchar(20), LastCountDate datetime, NextCountDate datetime, NonWorkingTimeSetId integer FK->NonWorkingTimeSet.Id, OpenTime time,  ProcessedPutAwayPullFromLocationId integer FK->Locations.id, ShortName varchar(20),TimeslotDuration integer, TargetDaysOnHand integer, TaxId varchar(50), TypeId integer FK->LocationTypes.Id);Create Table InventoryAverageDailyUsage(LocationId integer FK->Locations.id, ItemId Integer FK->Items.id, Amount integer, Override integer, OverrideExpiration Datetime);
Question: how much of R-P4845 is used at Rivian every day
SQL: select * from inventoryaveragedailyusages iau join locations loc on iau.locationid = loc.id join items it on iau.itemid = it.id where it.name like '%R-P4845%' and loc.name like '%Rivian%'