In a PostgreSQL db, I have a table with a numerical field, among others
In such field, some natural numbers are stored and they represent the number of occurrences of something
like this, roughly
record1....3
record2....5
record3....1
record4....2
I'd like to create a view that has 3 records created from record1, 5 records created from record2, one record created from reocord3 and 2 records created form record4
is this possible ?
How would I achieve that ?