SQL to initialise the database