Create table with random data in postgres
This is just for my reference I am creating
create table test_random as select generate_series(1,100),md5(random()::text);
generate_series is function to generate series of numbers.
md5 function accept only text data due to which we are converting the random() function output to text type.