Here are some examples of sqlskymatch:
stilts -classpath lib/drivers/mysql-connector-java.jar \
-Djdbc.drivers=com.mysql.jdbc.Driver
sqlskymatch in=messier.xml ra=RA dec=DEC sr=0.05 \
db='jdbc:mysql://localhost/ASTRO1' user=mbt \
dbtable=FIRST dbra=_RA2000 dbdec=_DE2000 \
out=matches.xml
messier.xml.
The result, a join between the Messier and FIRST tables, is output
as a VOTable called matches.xml.
In this case a password has not been supplied on the command line,
so if one is required it will be prompted for on the console.