title: How to pass where clause as variable to the query in Spark SQL?
body: <p>Sample Table:</p>
  
  <pre><code>    +---------------------------------------------------------++------+
      |                  Name_Age                               ||  ID  | 
      +---------------------------------------------------------++------+
      |"SUBHAJIT SEN":28,"BINOY MONDAL":26,"SHANTANU DUTTA":35  ||  15  |
      |"GOBINATHAN SP":35,"HARSH GUPTA":27,"RAHUL ANAND":26     ||  16  |
      +---------------------------------------------------------++------+
  </code></pre>
  
  <p><em>How to pass <code>WHERE</code> clause as variable to the query?</em> </p>
  
  <p>My desired query is: <code>Select Name_Age from table where ID=15</code> so where variable is ID=15.</p>