Tksql allows you to edit PostgreSQL and MySQL tables. You can use it from the shell prompt, specifying the name of a table, or an SQL satement, or just the name of a database. It has filter capabilities which are very easy to use. Two views are possible