結果 : postgresql join on two conditions