zConnect -h <hostname> -p <port> -U <username> -d <database_name>
Replace <hostname>, <port>, <username>, and <database_name> with appropriate values.
SELECT * FROM <table_name>;
Replace <table_name> with the table you want to select data from.
CREATE TABLE <table_name> ( <column1_name>, <column2_name>, ...);
ALTER TABLE <table_name> ADD COLUMN <new_column_data_type> <new_column_name>;
INSERT INTO <table_name> (, , ...) VALUES (, , ...);
DELETE FROM <table_name> WHERE <condition>;
UPDATE <table_name> SET <column_name>=<new_value> WHERE <condition>;
DROP TABLE <table_name>;
For more complex operations, you can refer to the official [Netezza SQL Reference Guide](https://www.ibm.com/support/knowledgecenter/ssw_ibm_db_n/com.ibm.swg.im.nz.db.sqlref/doc/r0215796.html) for detailed documentation on Netezza SQL commands.