Create predict table and insertsql