pspg
Terminal pager for browsing tables from PostgreSQL, MySQL and CSV files
pspg is a terminal pager for reading tables, aimed mainly at people who query PostgreSQL databases. It also handles MySQL output and can be used to view CSV and TSV files.
It supports searching, selecting rows, columns or blocks, and exporting the selected area to the clipboard. It works alongside pgcli. The project is written in C on top of ncurses, runs only from the command line, and is released under the BSD-2-Clause license with its source code public on GitHub.
Alternatives to pspg
Products that do a similar job in Developer Tools.
Beekeeper Studio
SQL editor and database manager for common database servers
DBngin
Local database server manager for macOS
DBeaver Community Edition
Free desktop SQL client and database administration tool
TablePlus
Native database GUI for MySQL, PostgreSQL and other relational databases
Sequel Ace
MySQL and MariaDB database client for macOS
Postgres
Mac app wrapper that runs a PostgreSQL server locally
MySQL Shell
Interactive shell for running JavaScript, Python or SQL against MySQL
Windows Terminal
Command-line terminal app and console host for Windows