If the database is on the web and not local to Mendix, then you'll need to expose the database for Mendix to use it. Put a webapi REST webservice against the database. To access the database you'll be able to perform the CRUD operations you expose.
If the database is the Mendix instance then my comment doesn't apply and you can use Mendix to create the tables needed.