title: How to use variables in SQL queries?
body: <p>Since in SQL Server ,we can declare variables like <code> declare @sparksql='&lt;any query/value/string&gt;'</code> but  in spark sql what alternative can be used .
  So that we don't need to hard code any values/query/strings.</p>