Monday, 31 October 2022

Postgresql - To get the list of tables from a schema

 SELECT 

    table_name 

FROM 

    information_schema.tables 

WHERE 

    table_schema = 'abc'

AND 

    table_type = 'BASE TABLE'

DBT - Models

Models are where your developers spend most of their time within a dbt environment. Models are primarily written as a select statement and ...