2008-04-17 UNIONって DB 重複行が削除されるのかー! DISTINCTみたいな感じ? で、UNION ALLだと削除されない。 select '1' as hoge union select '1' as hoge ↓ hoge 1 select '1' as hoge union all select '1' as hoge ↓ hoge 1 1 うーん、DBはまだまだだなぁ。