I have a query goes as follows,
select column1, column2, case tableB.coulumn1 when \'value\' then (select coulumn1,column2 from tableD where condition1)