ambigous_ref.sql 100 B

123
  1. --!syntax_pg
  2. /* custom error:Column reference is ambiguous: x*/
  3. select a.x from (select 1 x, 2 x) a