etTextRange(editor.getSelectionRange());
            if (select_sqlContent) {
                sqlContent = select_sqlContent
            } else {
                var sqlContent = editor.getValue();
            }

            var sqlContent = sqlContent.trim().replace(/;$/, '');
            var sqlContent = 'select count(1) from (' + sqlContent + '\n) t'
             
            //提交请求
            $.ajax({
                type: "post",
                url: "/query/",
                dataType: "json"