emidiosouza commited on
Commit
e11194b
·
verified ·
1 Parent(s): 5134fae

Update query.sql

Browse files
Files changed (1) hide show
  1. query.sql +1 -1
query.sql CHANGED
@@ -18,7 +18,7 @@ SELECT
18
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'name', '[]'), 'Não especificado') AS "Nome metamórficas",
19
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'type', '[]'), 'Não especificado') AS "Tipo metamórficas",
20
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'scientificName', '[]'), 'Não especificado') AS "Nome científico metamórficas",
21
- COALESCE(NULLIF(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'contact_relations','[]') '[""]')), 'Não especificado') AS "Relações de contato metamórficas",
22
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'ígneas_intrusivas'->0->>'name', '[]'), 'Não especificado') AS "Nome ígneas intrusivas",
23
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'ígneas_intrusivas'->0->>'type', '[]'), 'Não especificado') AS "Tipo ígneas intrusivas",
24
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'ígneas_intrusivas'->0->>'scientificName', '[]'), 'Não especificado') AS "Nome científico ígneas intrusivas",
 
18
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'name', '[]'), 'Não especificado') AS "Nome metamórficas",
19
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'type', '[]'), 'Não especificado') AS "Tipo metamórficas",
20
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'scientificName', '[]'), 'Não especificado') AS "Nome científico metamórficas",
21
+ COALESCE(NULLIF(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'metamórficas'->0->>'contact_relations','[]') '[""]'), 'Não especificado') AS "Relações de contato metamórficas",
22
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'ígneas_intrusivas'->0->>'name', '[]'), 'Não especificado') AS "Nome ígneas intrusivas",
23
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'ígneas_intrusivas'->0->>'type', '[]'), 'Não especificado') AS "Tipo ígneas intrusivas",
24
  COALESCE(NULLIF(data->'responseData'->1->'response'->'rockTypes'->'ígneas_intrusivas'->0->>'scientificName', '[]'), 'Não especificado') AS "Nome científico ígneas intrusivas",