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 ShippingrouteConfiguration (Id integer Primary Key, FromLocationId integer FK->Locations.Id, ToLocationId Integer FK->Locations.id, PreferredTrailerTypeId Integer FK->TrailerTypes.Id, MaxLTLDayRange Integer, MinTrailerPercent Integer, ShippingLoadTypeId integer FK->ShippingLoadType.id, DefaultCarrierId Integer FK->Carriers.Id);Create Table ItemShippingrouteconfiguration (ItemsId Integer FK->Items.id, ShippingRouteconfigurationsId Integer FK->ShippingRouteConfiguration.id);Create table InventoryCategory(Id Integer Primary Key, Description varchar(50), CanMove integer, IsActive Integer, StaticTypeIdentifier varchar(50));Create table InventoryCategoryShippingRouteConfiguration (InventoryCategoryId Integer FK->InventoryCategory.Id, ShippingRouteconfigurationsId Integer FK->ShippingRouteConfiguration.id);
Question: what locations can ship to rivian 
SQL: select floc.name FromLocation, tloc.name ToLocation, it.name ItemName, ic.description InventoryCategory, src.TransitTime  from ShippingRouteConfigurations src join locations floc on src.fromlocationid = floc.id join locations tloc on src.ToLocationId = tloc.id join ItemShippingRouteConfiguration isrc on src.id = isrc.ShippingRouteConfigurationsId join items it on isrc.ItemsId = it.id join inventorycategoryshippingrouteconfigurations icsc on src.id = icsc.shippingrouteconfigurationid join inventorycategory ic on icsc.inventorycategoryid = ic.id where tloc.name like '%Rivian%'