add sql to prism