Using ybsql

The ybsql client tool is a command-line interface for running SQL queries and SQL commands. You can use ybsql to create, drop, and alter database objects, insert, update, and delete rows in tables, and run commands that manage the database. See SQL Commands.

You can download ybsql from the SMC as part of the Yellowbrick client tools package (ybtools). Go to Configure > Drivers and Tools > Client Tools.

This section describes the commands and options that are available in ybsql.