You can probably use any JDBC compatible SQL client with the
NetSuite2.com schema to run queries. Many clients have completion and syntax highlighting available. I use SQuirreL SQL, just because I am familiar with it and have been using it for over a decade, but I know DBeaver also works with the JDBC driver, and there may be others as well.