new sql file for a store id search