如何將嵌套的select查詢轉換爲Drual 7 db_select?以下是問題查詢:Drupal 7 db_select嵌套選擇查詢
select
*
from
tbl_word
where
EngWord like '%apple%' or
WordID in (
select
WordID
from
tbl_subword
where
EngWord like '%apple%'
);
看到http://thanhnp.wordpress.com/2011/09/15/write-a-sub-query-by -db_select-drupal7/ – user7282