A+A interview question

build db for 1million values