select count(DISTINCT od_id) as cnt

1054 : Unknown column 'od_id' in 'field list'

error file : /shop/orderinquiry.php