ij is a JDBC-neutral scripting tool with a small command set. It can be used to access any JDBC driver and any database accessible through that driver.
The main benefit of a tool such as ij is that it is easy to run scripts for creating a database schema and automating other repetitive database tasks.
In addition, ij accepts and processes SQL commands interactively for ad hoc database access.