Spaces:
Sleeping
Sleeping
Update query.sql
Browse files
query.sql
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
SELECT
|
|
|
2 |
name AS "Nome documento",
|
3 |
COALESCE(NULLIF(data->'responseData'->0->'response'->>'city', '[null]'), 'Não especificado') AS "Cidade",
|
4 |
COALESCE(NULLIF(data->'responseData'->0->'response'->>'state', '[null]'), 'Não especificado') AS "Estado",
|
|
|
1 |
+
SELECT
|
2 |
+
id,
|
3 |
name AS "Nome documento",
|
4 |
COALESCE(NULLIF(data->'responseData'->0->'response'->>'city', '[null]'), 'Não especificado') AS "Cidade",
|
5 |
COALESCE(NULLIF(data->'responseData'->0->'response'->>'state', '[null]'), 'Não especificado') AS "Estado",
|