Command-line tool for executing common SQL statements