๐Ÿš

Get row counts for all Redshift tables

https://github.com/jhuizy/code-notes
databaseredshift

The following query will return a list of results containing each table's name and row count:

sql
select name, sum(rows) as rows
from stv_tbl_perm
group by 1
Want to make your own site like this? Try gatsby-theme-code-notes by Zander Martineau.
Handy code snippets