added sql for videostats db table