Added the SQL code for the database