I don't understand how to convert this query into codeigniter linq
SELECT prdctSubCatId
FROM productinfo
WHERE prdctSubCatId = (
SELECT prdctSubCatId
FROM productinfo
WHERE id='27'
) Instead of id ='27' I want to pass id=$id, then how can I do this
get_compiled_select