scrapping step3, merging functionality into step2
sql forming complete
todo:
validate inputs
run the sql and generate table