使用sql产生10w条数据
by Matthew Oldham
通过马修·奥德姆(Matthew Oldham)
如何仅使用SQL产生有意义的数据集 (How to produce meaningful datasets using only SQL)
Have you ever needed to seed a database with random, yet realistic, data for the purposes of testing, demonstration, or training? It’s a very common requirement, and one I have faced many times.
您是否曾经需要为测试,演示或培训目的而向数据库提供随机但真实的数据呢? 这是一个非常普遍的要求,我已经面对过很多次。
It doesn’t take long in the development timeline before someone needs to test with “real” data. Since my role in past projects has almost exclusively been oriented around the data tier…
在开发时间表上花了很长时间,才有人需要使用“真实”数据进行测试。 由于我在过去的项目中的角色几乎完全围绕数据层而定……
翻译自: https://www.freecodecamp.org/news/how-to-produce-meaningful-datasets-using-only-sql-394c4781a5e0/
使用sql产生10w条数据