【发布时间】:2020-08-02 17:34:45
【问题描述】:
我需要从表中获取数据(所有数据的 100%)并将其拆分为 3 列。
示例:我们有数据:
numbers
80174
91467
1105
12040
62224
46508
33149
61384
10811
84923
我们需要采取:
| Random 60% of all | Random 40% of all
| unique and not | unique and not
All | contained in 40% | contained in 60%
| of the column | of the column
----------------------------------------------
80174 | 84923 | 33149
91467 | 91467 | 61384
1105 | 1105 | 10811
12040 | 62224 | 80174
62224 | 12040 |
46508 | 46508 |
33149 | |
61384 | |
10811 | |
84923 | |
【问题讨论】:
-
是否需要将它们放在一个结果集中?
-
您使用的是哪个版本的 MySQL?