次の sql コマンドを使用して、いくつかのレコードを検索します。
select con.type, con.contract_id, con.account, chk.account, chk.check_flags
from contract_scan_image con, outer check_customer_info chk
where con.type='AP' and con.account=chk.account
すると以下のような結果になりました。
type contract_id account account check_flags
AP 1413178 03071800181
AP 1413774 03071800569
AP 1414218 03071800810
AP 1415937 03071900602 03071900602 000000222010000000000000000000
AP 1417948 03072000524 03072000524 000000222010000000000000000000
AP 1417999 03072000555
AP 1418203 03072000667 03072000667 000000222010000000000000000000
AP 1418216 03072000672 03072000672 000000220010000000000000000000
......
テーブルの「アカウント」フィールドに何もないのに、レコードがまだ見つかっているのはなぜですか?