2つのオプションがあります
INNER JOIN x
ON x.qid = y.qid OR (x.qid IS NULL AND y.qid IS NULL)
または簡単
INNER JOIN x
ON x.qid IS NOT DISTINCT FROM y.qid
2つのオプションがあります
INNER JOIN x
ON x.qid = y.qid OR (x.qid IS NULL AND y.qid IS NULL)
または簡単
INNER JOIN x
ON x.qid IS NOT DISTINCT FROM y.qid