Added code to pull queries from the db and tabulate them on the display. Also added a new table in the db
fixed typo in the sql file