addadd orient sql queries