Sql shifts, update a query to load/use like all the others