I'm a newbie, I need help with sql query.
The requirement is : To get data from variable value which has x=1 or Yes
columnames:varname,varvalue
select all records of table if varname=x and varvalue=1 or 'yes'
'' '' varname=y and varvalue=2 or 'no'
Any help is greatly appreciated.