SELECT a.line_number, a.extended_amount, b.code_combination_id
FROM RA_CUSTOMER_TRX_LINES_all a,
RA_CUSTOMER_TRX_all aa,
RA_CUST_TRX_LINE_GL_DIST_all b
WHERE a.customer_trx_line_id = b.customer_trx_line_id
and a.customer_trx_id = aa.customer_trx_id
and aa.trx_number = 'SF20061004000011'
for update