db function for prediction
Transact sql
Merge remote-tracking branch 'origin/master'