Updated SQL script for deem related tables
MAT conversion DB table script