add Querys, query2sql and rewrite compiler.compile