Skip to content

Find the CREATE TABLE Mistake

Find the Mistake Easy
workbench

Question

This CREATE TABLE has an error. Find and fix it:

Code

                  CREATE TABLE users (
  id SERIAL PRIMARY KEY
  name TEXT NOT NULL
);
                

Related Resources

Related Lessons

  • Tables

    Learn CREATE TABLE syntax.

Look up unfamiliar terms

A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.

View glossary

Decode error messages

Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.

View errors

Build real projects

Apply what you learned by building guided projects with starter code and solutions.

View projects

← Back to topic