Created the sql that is going to be used for the database