select /* SQL_CACHE */ name as name from doctor where
(name like '%112%' or licenseno like '%112%' or shortname like '112%' or code = '112') and
((position_id in (1,5,2,9,11,14,-999)) or position_id IS NULL) and active='Y'
ขอแก้ไขใช้ code อย่างเดียว ครับ