Sql for db added