new sqls for server main