SELECT aca.employee_id,
(SELECT full_name
FROM hr_employees he
WHERE he.employee_id = aca.employee_id) employee_name,
icc.ccnumber,
acca.trx_id,
acca.transaction_type,
acca.transaction_type,
acca.transaction_date,
acca.transaction_amount,
acca.billed_amount,
acca.posted_amount,
acca.expensed_amount
FROM ap_cards_all aca,
iby_creditcard icc,
ap_credit_card_trxns_all acca
WHERE icc.instrid = aca.card_reference_id
AND acca.card_id = aca.card_id
AND icc.ccnumber = acca.card_number
(SELECT full_name
FROM hr_employees he
WHERE he.employee_id = aca.employee_id) employee_name,
icc.ccnumber,
acca.trx_id,
acca.transaction_type,
acca.transaction_type,
acca.transaction_date,
acca.transaction_amount,
acca.billed_amount,
acca.posted_amount,
acca.expensed_amount
FROM ap_cards_all aca,
iby_creditcard icc,
ap_credit_card_trxns_all acca
WHERE icc.instrid = aca.card_reference_id
AND acca.card_id = aca.card_id
AND icc.ccnumber = acca.card_number
I generally check this kind of article and I found your article which is related to my interest.find employees to hire Genuinely it is good and instructive information. Thankful to you for sharing an article like this.
ReplyDelete