【发布时间】:2021-09-01 12:42:44
【问题描述】:
我正在使用 hsql db(v:2.3.6) 并且查询是
select id, name, phone
from person p, address a
where a.id = p.id
order by id LIMIT 10
union
select id, name, phone
from old_person op, old_address oa
where op.id = oa.id
order by id LIMIT 10
但是上面的查询抛出了一个错误:
原因:org.hsqldb.HsqlException:意外令牌:UNION
我不知道为什么这是个问题。
【问题讨论】:
标签: hsqldb