Database schema: create table InventoryCategory(Id Integer Primary Key, Description varchar(50), CanMove integer, IsActive Integer, StaticTypeIdentifier varchar(50));Create Table Inventory(Id integer Primary Key, ItemId Integer FK->Items.Id, Locationid Integer FK->Locations.Id, Quantity integer, InventoryCategory Integer FK->InventoryCategory.Id);create table Items ( CollapsedHeight integer, Collapsible integer, CustomerItemNumber varchar(20), Height integer, Id integer primary key, FloorLocation varchar(20), FullTrailerLoad varchar(20), ImageFileName varchar(20), IsUnitLoad integer, Length integer, Name varchar(20), PalletQty integer, ShortName varchar(20), StackHeight integer,  TypeId integer FK->ItemTypes.Id, UnitCost Decimal(18,2),Weight float, Width integer );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: show me the inventory of items R-P4845 at Rivian
SQL: select * from inventory inv join items it on inv.itemid = it.id join locations loc on inv.locationid = loc.id join inventorycategory ic on inv.inventorycategory = ic.id where it.name like '%R-P4845%' and loc.name like '%Rivian%'