fork download
  1. with a as (
  2. select 1 id, 1 flag union all
  3. select 2, 0 union all
  4. select 4, 1
  5. ),
  6.  
  7. b as (
  8. select 1 id union all
  9. select 2 union all
  10. select 3
  11. select 4
  12. )
  13.  
  14. select b.id, a.flag != 1 as tf
  15. from b
  16. left join a
  17. using(id)
Success #stdin #stdout #stderr 0.01s 5288KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 1: near "select": syntax error