I have 2 SQL statement to look up succes transaction and failed transaction.
SELECT COUNT (code_reseller) as trx_success, kode_reseller FROM transaksi where status = \'20