add sql for shoporders