mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Parser: syntax for query system_time [closes #230]
Eliminated `QUERY FOR`.
This commit is contained in:
@ -45,26 +45,26 @@ where d.dept_id = 10
|
||||
select * from emp e, dept d
|
||||
where d.dept_id = 10
|
||||
and d.dept_id = e.dept_id
|
||||
query for system_time from timestamp @ts_1 to timestamp @ts_2;
|
||||
system_time from timestamp @ts_1 to timestamp @ts_2;
|
||||
|
||||
select * from emp e, dept d
|
||||
where d.dept_id = 10
|
||||
and d.dept_id = e.dept_id
|
||||
query for system_time as of timestamp @ts_0;
|
||||
system_time as of timestamp @ts_0;
|
||||
|
||||
select * from emp e, dept d
|
||||
where d.dept_id = 10
|
||||
and d.dept_id = e.dept_id
|
||||
query for system_time as of timestamp @ts_1;
|
||||
system_time as of timestamp @ts_1;
|
||||
|
||||
select * from emp e, dept d
|
||||
where d.dept_id = 10
|
||||
and d.dept_id = e.dept_id
|
||||
query for system_time as of timestamp @ts_2;
|
||||
system_time as of timestamp @ts_2;
|
||||
|
||||
select * from emp e, dept d
|
||||
where d.dept_id = 10
|
||||
and d.dept_id = e.dept_id
|
||||
query for system_time as of timestamp @ts_3;
|
||||
system_time as of timestamp @ts_3;
|
||||
|
||||
drop table emp, dept;
|
||||
|
Reference in New Issue
Block a user