Skip to content

Tag: snowflake-cloud-data-platform

Joining two JSON objects in Snowflake

What’s up, I have two JSON objects, generated from the same Snowflake table (Table 1 here). I want to join/merge them on their “_id” field, in order to produce this nested json kind of structure. How can I do this? I tried aliasing them and using SELECT * from dc JOIN rs ON rs.:_id = dc:_id …

SQL – Snowflake Minus Operator

Hi I am running a query to check for any changes in a table between two dates…. The first select statement (where run_time = current_date() return 3,357,210 records. The second select statement (where run_time = current_date()-1 returns 0 records. Using the MINUS operator, I was expecting to see 3,357,2…