added sql queries for importing orders