added sql for table to demo