To test a report against data, I want to INSERT test data into a table in Postgres SQL.
For example:
INSERT INTO call_logs (phonenumber,timeofcall) VALUES ('+12121001001','2014-12-23T07:01:00.000+00:00')
But I want to loop, say, 59 times, to have phone numbers 2121001001, 1002, 1003, etc with times of call 07:01, 07:02, 07:03, etc.
How do I do that with a loop?
Thanks.