Why can't I do this??
Select (case production.`Policy Name` when 'Pensioner Funeral Plan' then ( select b.`Policy Number`
from pensionerfuneralplan b, production a where b.`Policy Number` = a.`Policy Number`) end)
from production
I want the select inside the case???
Thanks
Select (case production.`Policy Name` when 'Pensioner Funeral Plan' then ( select b.`Policy Number`
from pensionerfuneralplan b, production a where b.`Policy Number` = a.`Policy Number`) end)
from production
I want the select inside the case???
Thanks