Spaces:
Sleeping
Sleeping
fix: query update geological_context_description
Browse files
query.sql
CHANGED
@@ -20,7 +20,7 @@ SELECT
|
|
20 |
COALESCE(NULLIF(array_to_string(ARRAY(SELECT jsonb_array_elements_text(data->'responseData'->0->'response'->'target_or_deposit')), ', '), ''), 'N茫o especificado') AS "Alvo ou dep贸sito",
|
21 |
|
22 |
COALESCE(NULLIF(data->'responseData'->0->'response'->'geological_context'->>'tectonic_context', ''), 'N茫o especificado') AS "Contexto tect么nico",
|
23 |
-
COALESCE(NULLIF(data->'responseData'->0->'response'->'geological_context'->>'
|
24 |
COALESCE(NULLIF(data->'responseData'->0->'response'->'geological_context'->>'context_of_present_rocks', ''), 'N茫o especificado') AS "Rochas presentes",
|
25 |
|
26 |
--rock_types_sedimentares
|
|
|
20 |
COALESCE(NULLIF(array_to_string(ARRAY(SELECT jsonb_array_elements_text(data->'responseData'->0->'response'->'target_or_deposit')), ', '), ''), 'N茫o especificado') AS "Alvo ou dep贸sito",
|
21 |
|
22 |
COALESCE(NULLIF(data->'responseData'->0->'response'->'geological_context'->>'tectonic_context', ''), 'N茫o especificado') AS "Contexto tect么nico",
|
23 |
+
COALESCE(NULLIF(data->'responseData'->0->'response'->'geological_context'->>'geological_context_description', ''), 'N茫o especificado') AS "Contexto geol贸gico",
|
24 |
COALESCE(NULLIF(data->'responseData'->0->'response'->'geological_context'->>'context_of_present_rocks', ''), 'N茫o especificado') AS "Rochas presentes",
|
25 |
|
26 |
--rock_types_sedimentares
|