SQL : How to insert data in postgresql using for loop?

Published --