modified sqls