created insert/select queries