To issue SQL commands against a Derby database, use ij, the SQL scripting tool.
Using ij to issue SQL commands
ij, the interactive SQL scripting tool, can be run via the Eclipse console. See the page, Using ij to issue SQL commands
Using ij to run SQL scripts
Entire SQL scripts, can be executed using ij.