Skip to content
Advertisement

SQL – Find Record count for multiple tables at a time in snowflake

I want to see counts have Tables at 1 time, instead of Running each.

For EX:

Is there any way we can write a CTE to pull as Record count for each in a temp table or so like below:

enter image description here

Advertisement

Answer

You can use union all:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement