title: Hi, how do we define select statement as a variable in dbt?
body: <p>Hi I am trying to define a select statement in a set variable in dbt,
  can any one suggest how to set sql query as a variable in dbt  and how to access those variables in below CTEs?</p>