mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
System Versioning 1.0 pre6
Merge remote-tracking branch 'mariadb/bb-10.3-temporal-serg' into trunk
This commit is contained in:
@@ -119,13 +119,13 @@ emp_id name mgr address
|
||||
2 bill 1 New York
|
||||
3 kate 1 London
|
||||
4 john 1 Paris
|
||||
with ancestors as (select * from emp natural join addr where 1 for system_time all) select * from ancestors;
|
||||
with ancestors as (select * from (select * from emp natural join addr) for system_time all as t) select * from ancestors;
|
||||
emp_id name mgr address
|
||||
1 bill 0 Moscow
|
||||
2 bill 1 New York
|
||||
3 kate 1 London
|
||||
4 john 1 Paris
|
||||
select * from emp natural join addr where 1 for system_time all;
|
||||
select * from (select * from emp natural join addr) for system_time all as t;
|
||||
emp_id name mgr address
|
||||
1 bill 0 Moscow
|
||||
2 bill 1 New York
|
||||
|
Reference in New Issue
Block a user