better test

This commit is contained in:
Nikita Taranov 2024-07-03 20:46:36 +01:00
parent 2ffb22b45e
commit a61907e96e
2 changed files with 10 additions and 1 deletions

View File

@ -1,7 +1,10 @@
a1451105-722e-4fe7-bfaa-65ad2ae249c2 whatever a1451105-722e-4fe7-bfaa-65ad2ae249c2 whatever
a1451105-722e-4fe7-bfaa-65ad2ae249c2 whatever a1451105-722e-4fe7-bfaa-65ad2ae249c2 whatever
---------------------------
a1451105-722e-4fe7-bfaa-65ad2ae249c2 a1451105-722e-4fe7-bfaa-65ad2ae249c2
a1451105-722e-4fe7-bfaa-65ad2ae249c2 a1451105-722e-4fe7-bfaa-65ad2ae249c2
a1451105-722e-4fe7-bfaa-65ad2ae249c2 ---------------------------
a1451105-722e-4fe7-bfaa-65ad2ae249c2
---------------------------
a1451105-722e-4fe7-bfaa-65ad2ae249c2 a1451105-722e-4fe7-bfaa-65ad2ae249c2
a1451105-722e-4fe7-bfaa-65ad2ae249c2 a1451105-722e-4fe7-bfaa-65ad2ae249c2

View File

@ -30,6 +30,8 @@ INNER JOIN view(
WHERE status IN ['CREATED', 'CREATING'] WHERE status IN ['CREATED', 'CREATING']
ORDER BY event_time DESC; ORDER BY event_time DESC;
SELECT '---------------------------';
with with
results1 as ( results1 as (
SELECT id SELECT id
@ -45,6 +47,8 @@ results2 as (
) )
select * from results1 union all select * from results2; select * from results1 union all select * from results2;
SELECT '---------------------------';
with with
results1 as ( results1 as (
SELECT id SELECT id
@ -60,6 +64,8 @@ results2 as (
) )
select * from results1 t1 inner join results2 t2 using (id); select * from results1 t1 inner join results2 t2 using (id);
SELECT '---------------------------';
with with
results1 as ( results1 as (
SELECT t1.id SELECT t1.id