How to pass input in where condition using SQL

How to pass input in where condition using SQL

  
 How to pass input in where condition using SQL ike i want to filter Location column equals to "Delhi"
Hi Padma,

Are you using an aggregate or an Advanced Query?