2024年4月11日

摘要: 背景 在如下的 sql 中, select rowid from (select 1 from t); lightdb 24.1 以前会直接报错,说找不到 rowid 列。为了兼容 Oracle, 在 24.1 中,我们选择将告知子查询除了返回子查询应有的列之外,还需返回 rowid 列。 样例 以 阅读全文
posted @ 2024-04-11 16:26 winter-loo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: The SQL select a from (select a from t); Overview from (select a from t) will map to one RangeTblEntry struct of the outter query. from t will map to 阅读全文
posted @ 2024-04-11 16:09 winter-loo 阅读(2) 评论(0) 推荐(0) 编辑

导航