lay so ban ghi select count(*) from `tbdanhba` where danhba_trangthai=1 and loaitin_id = 3521 Unknown column 'loaitin_id' in 'where clause'