Adding the Sql for the database tables.