Its an improvement to the import feature that exists currently:
If a user drags and drop a .sql file to the pma interface (anywhere) the interface should import it and execute it. There should not be a condition that user drops it to import page only. In case db is not selected, we can show a custom error, otherwise, upload the file asynchronously and execute the query just like it happens when import is done.
I'm expecting a UI similar to how it happens in google drive (attached for reference)