In this assignment, I practiced creating tables with different constraints like PRIMARY KEY, NOT NULL, UNIQUE, CHECK, DEFAULT and FOREIGN KEY. CREATE TABLE students ( id SERIAL PRIMARY KEY, name TEXT, age INT ); CREATE TABLE employees ( id SERIAL PRIMARY KEY, name TEXT NOT NULL, email TEXT NOT NULL,
โกKey InsightsAI analyzingโฆ
C
Christina Sharon S
๐ก
Tags:#cloud#dev.to
Found this useful? Share it!
Read the Full Story
Continue reading on Dev.to
Related Stories
โ๏ธ
โ๏ธCloud & DevOps
I Analyzed 500 AI Coding Mistakes and Built an ESLint Plugin to Catch Them
2 days ago
โ๏ธ
โ๏ธCloud & DevOps
Seedance 2.0 Deep Dive: ByteDance AI Video That Tops Sora and Veo
2 days ago
โ๏ธ
โ๏ธCloud & DevOps
Cursor Composer 2: The Kimi K2.5 Controversy and What It Means
2 days ago
โ๏ธ
โ๏ธCloud & DevOps
MCP vs Skills vs Hooks in Claude Code: Which Extension Do You Need?
2 days ago
