This algorithm executes the given SQL query on the selected database, returning a table with the results.
It may be useful to select View and view the database structure.