07/06/08 23:33:31
>>200
select * from nenkin_table
where name like '%佐藤%'
and birth = '19700608'
and sex = 'M'
and Prefecture = '東京'
くらいで大丈夫でしょうか?
仮にnenkin_table にbirthとsexが無い場合には
shiharai_kin と サブクエリーで syuunyuu_tableで検索して
所得額から年金額を算出し合致するレコードを取り出してはダメでしょうか?