fix parkaliases
This commit is contained in:
parent
206854224e
commit
708ef272b1
|
@ -26,7 +26,7 @@ create temp table if not exists "parkaliases" (
|
||||||
|
|
||||||
-- split aliases by semicolon
|
-- split aliases by semicolon
|
||||||
with recursive aliases(parkid, alias) as (
|
with recursive aliases(parkid, alias) as (
|
||||||
select "park.key", "park.alias" from "raw"."parks"
|
select "parkkey", "parkalias" from "raw"."parks"
|
||||||
union
|
union
|
||||||
select parkid, trim(substr(alias, instr(alias, ";") + 1)) as a
|
select parkid, trim(substr(alias, instr(alias, ";") + 1)) as a
|
||||||
from aliases
|
from aliases
|
||||||
|
|
Loading…
Reference in New Issue