Complete CREATE TABLE
Fill in the Blank Beginner
Question
Fill in the blank to create a new table called products:
Code
___ TABLE products (
id SERIAL PRIMARY KEY,
name TEXT NOT NULL
);
Hint
This DDL command creates new database objects.
Explanation
CREATE is the DDL command that creates new database objects. CREATE TABLE products (...) creates a new table with the specified columns.
Related Resources
Related Lessons
- Tables
Learn CREATE TABLE.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.