I have to create a dummy data. I already have >30000 features in 'buildings' table, and I created 1 new column called 'roof_material' . I also have another table called 'materials' which contains 8 rows, like this:
|id| material
+--+-----------
|1 | tiles
|2 | metal
|3 | concrete
|4 | slate
|5 | steel
|6 | clay
|7 | wood shake
|8 | asphalt
I want to populate the buildings.roof_materials with values from "materials" table randomly.
So in the end, every row in that 30000 features will have roof_materials data.
Can anyone help me?