You need to use the DB Manager plugin now, see: https://www.qgis.org/en/docs/user_manual/plugins/plugins_db_manager.html
Note that you have to create the connections first in QGIS browser.
题
With QGIS 1.7 I used the PostGIS Query Editor daily to run relatively complex queries and view the result. I upgraded to QGIS 2.2 (which I like much better) but I'm not seeing any plugins that fulfill that role and can be used in 2.2.
Am I missing something, is there a way to execute a full query like SELECT * FROM geofile JOIN nongeofile ON geofile.id=nongeofile.id
?
ZR
解决方案
You need to use the DB Manager plugin now, see: https://www.qgis.org/en/docs/user_manual/plugins/plugins_db_manager.html
Note that you have to create the connections first in QGIS browser.