Does WordPress installation create a database as well?
No, WordPress installation does not create a database on its own. User is expected to create the database from the control panel and also a user with proper privileges that should be associated to the database. WordPress installation will then import all the tables and data required into the already created database.