I'm developing a demonstration site for new system we are about
to unleash on the world, so far it's going great but one of the
worst things about demo sites is the lack of real world data at
hand. I don't want to give too much away but the site is vehicle
sales based and I need to generate a bunch of data. The problem I
needed to solve was that the table with the cars in didn't have
associated dealer data and the pages looked very bare when there
wasn't any as much of the data comes from the dealers
table.
I didn't fancy going in to the table and amending 165 cars by
hand, but I also didn't want to run the update in blocks as I
wanted an a pretty even spread of the different cars between the
12 dealers. Take for example this data set...
[Read more]
mysql> select id, Make, dealer from cars_cars limit 5;
+----+------------+-----------+
| id | Make | dealer | …