SQL Injection Wiki
cweiske.de: tools: PHP-SQLlint
"Command line tool to validate (syntax check) SQL files. Primarily for MySQL .sql files.
Can be used in git pre-commit hooks to catch errors. Use it from your shell, offline and without any SQL server.
You can also use it to format SQL queries."
SqlPad - A web app for running SQL queries and visualizing the results
"SqlPad is a self-hosted web app for writing and running SQL queries and visualizing the results. Its goal is to be a simple tool for exploratory data work and visualizations, ideal for data analysts who would prefer to work in SQL."