SQL文本
用户从文本框输入合法的SQL语言,支持以";"分割的多个SQL语句.
支持的SQL语句类型
- select
- update
- delete
- insert ... select
- merge
- replace
支持的数据库类型
- MySQL
- PostgreSQL
- Openguass
- Maria(alpha)
- Oracle(alpha)
SQL语句例子
select *
from customer
where c_custkey = (select max(o_custkey)
from orders
where subdate(o_orderdate, interval '1' DAY) < '2022-12-20')