Why nested ``for`` instead of:
```scala
for {
  databaseName <- db.getAllDatabases
  tableName <- db.getAllTables(databaseName)
  ...
}