SQLite for Beginners: DELETE FROM WHERE & DROP TABLE Explained | Episode 11
2views
0011:20
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Data needs to go! In this episode, you learn DELETE FROM WHERE to remove specific rows, the danger of DELETE
without WHERE, and DROP TABLE to remove an entire table.
We continue with our student grades database, removing withdrawn students, failing grades, and eventually the
whole table.
Student code: https://github.com/GoCelesteAI/learn-sqlite-in-neovim/tree/main/episode11
Every keystroke is shown on screen with 3-second pauses so you can follow along at your own pace.
What You'll Learn:
- DELETE FROM WHERE to remove specific rows
- Deleting one row by name
- Deleting multiple rows by condition (status, grade)
- The danger of DELETE without WHERE
- DROP TABLE to remove the entire table
- Running SQL files with :!sqlite3 :memory:
Timestamps:
0:00 - Introduction
0:12 - Preview: What We Cover
0:44 - Creating delete.sql
1:50 - CREATE TABLE students (5 columns, status added)
3:17 - INSERT — eight students (active/withdrawn)
5:15 - SELECT * — all students before deleting
5:49 - DELETE one row — Bob Martinez
6:31 - DELETE withdrawn — all withdrawn students
7:13 - DELETE by grade — D and F grades removed
7:57 - DANGER: DELETE without WHERE — all rows gone!
8:41 - DROP TABLE — remove the entire table
9:22 - Recap: 3 Key Takeaways
9:57 - End Screen
Key Takeaways:
1. DELETE FROM WHERE removes specific rows — always use WHERE
2. DELETE without WHERE removes ALL rows — table is empty but still exists
3. DROP TABLE removes the entire table — structure and data, gone forever
This is Episode 11 of the Learn SQLite in Neovim series — 32 episodes from beginner to advanced.
Taught by CelesteAI. Like & subscribe for more tutorials!
#sqlite #sql #neovim #programming #tutorial #beginners #learnsql #database #delete #droptable #sqlitetutorial
#coding
Tags
sqlite, sqlite tutorial, learn sqlite, sql tutorial, sql for beginners, neovim sqlite, delete sql, drop table,
remove rows, neovim tutorial, learn sql in neovim, sql basics, sqlite episode 11, programming tutorial, coding
tutorial, beginner programming, sqlite 2026, neovim 2026, screenkey, code along, database tutorial
Tags
sqlitesqlite tutoriallearn sqlitesql tutorialsql for beginnersneovim sqlitedelete sqldrop tableremove rowsneovim tutoriallearn sql in neovimsql basicssqlite episode 11programming tutorialcoding tutorial