An admin option (specially for developers) access the database in the dashboard similar like the WP adminer plugin.
No, this is a plugin's area. Let's keep core as lean as possible!
Definitely plugin territory.
Not even for plugins, this should be done via a separate application using a very different (much more restrictive) security model.