From the query editor, once you have executed your query, you just have to click on the “Download as CSV (F8)” button or use F8 key.
Source pgAdmin 4 Query Toolbar

From the query editor, once you have executed your query, you just have to click on the “Download as CSV (F8)” button or use F8 key.
Source pgAdmin 4 Query Toolbar
