Dbt sql functions. This reduces redundancy .