MySQL で select distinct の対象として多すぎるカラムを指定するとカラム数に比例して遅くなる。 そういった場合、一旦 pk を含む少数のカラムで distinct してから pk で引き直す方が早い。
When querying data from a table, you may get duplicate rows. To remove these duplicate rows, you use the DISTINCT clause in the SELECT statement. Here’s the syntax of the DISTINCT clause: In this ...
Unele rezultate au fost ascunse, deoarece pot fi inaccesibile pentru dvs.
Afișați rezultatele inaccesibile