I have one field student id, based on student id i want to find out house of the student to which they belong to.
ifelse (student.std_id=‘123’,“tagore”,
‘Null’) AS housename,
I am writing this statement in select clause in the custom SQL but getting mismatched input error, predicate error.