Skip to main content

Cockroach University: Creating and Modifying a Table

In this Cockroach University lesson titled "Creating and Modifying a Table”, you’ll learn how to create a simple database and table. Then will discuss how to see a table’s schema, and how to modify the schema of a table. In this lesson, you will learn to: •Create a database and table •Define the primary key of a table at creation •Create a table with a composite primary key •View a table's schema •Modify the schema of an existing table Learn more about CockroachDB by signing up for free training at Cockroach University --------------------------------------------------------------------------------------------------------------------------- Reference Links •CREATE TABLE Docs) •ADD COLUMN Docs) •ALTER TABLE (CockroachDB Docs) •Column Families (CockroachDB Docs) --------------------------------------------------------------------------------------------------------------------------- Careers: CockroachCloud: Blog: Docs: Community Slack: Twitter: