因此,Im在MySQL询问中有一些问题(见, 并试图采取不同的做法。
我有一个数据库表,有一部分重复浏览,我实际上可能需要今后参考,因此我不想去掉。 我所期待的是,在不重复数据的情况下显示数据,但不去除这些数据。 我只能使用简单挑选的办法(如另一个问题所述)。
So what I need to do is write a code that does the following: 1. Go through my db Table. 2. Spot duplicates in the "ip" column. 3. Mark the first instance of each duplicate with "0" (in a column named "duplicate") and the rest with "1".
这样,我就只能读取电离层。
NOTE: 如果你的解决办法与SlectT query有关,请读到:other question,首先,除了使用小组之外,还有一个原因I m不光靠DISTINCT。
提前感谢。