Select * from (
Select Mst.*, tm_supplier.namasupp namasupps
 from Tr_Beli_M Mst,tm_Supplier
where Mst.kodesupp=tm_supplier.kodesupp
and ifnull(tglbatal,'')=''
and Mst.Transbeli='BT'
and left(Tglbeli,10) between '2025-12-30' and '2025-12-30'
) Mst
order by  nobeli
