solomonrajuprimedtal
7 views
15 slides
Oct 17, 2025
Slide 1 of 15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
About This Presentation
vcvccvvc
Size: 50.02 KB
Language: en
Added: Oct 17, 2025
Slides: 15 pages
Slide Content
Getting Started with SQLite Guided Installation, Schema Creation & VS Code Integration Duration: 150 Minutes
Activity 1: Guided Installation and First Database (60 mins) Objective: ✅ Ensure every student has a working SQLite environment. Outcome: 💡 Students will install SQLite and create their first database file.
Step-by-Step Installation Guide 1. Visit https://www.sqlite.org/download.html 2. Download the precompiled binaries for your OS 3. Add SQLite to your system PATH (if required) 4. Verify installation using: sqlite3 --version
Setting Up in VS Code Recommended Extension: SQLite (by alexcvzz) Features: - Graphical table explorer - Query editor with syntax highlighting - Data grid view for results
Creating the First Database Commands in Terminal: cd <your project folder> sqlite3 my_first_database.db Explanation: - Creates a new database file - Opens the SQLite command-line shell - Prompt appears as: sqlite>
Exploring the SQLite Shell Try these dot commands: .help -- view available commands .tables -- list all tables .quit -- exit the shell Note: Commands beginning with '.' are specific to SQLite, not SQL.
Activity 2: Interactive Schema Creation (60 mins) Objective: ✏️ Practice DDL commands in SQLite Outcome: 📋 Students will create and inspect a table schema
Common Tips for Students 💡 End every SQL command with a semicolon (;) ⬆ Use the up arrow to recall previous commands 🧩 Share your screen if you face installation issues
Activity 3: Using the VS Code Extension (30 mins) Objective: 🎨 Learn to manage SQLite databases visually in VS Code Outcome: 👀 Browse schema and data using GUI tools
Explore the Database in VS Code Steps: 1. Open VS Code and your project folder 2. Press Ctrl + Shift + P → choose “SQLite: Open Database” 3. Locate my_first_database.db 4. Use the SQLITE EXPLORER sidebar to view tables 5. Right-click → Show Table to see data
Run Queries from VS Code Right-click database → “New Query” Example: SELECT * FROM Contacts; Displays results in a grid view.
Summary ✅ Installed SQLite successfully ✅ Created and viewed a database ✅ Practiced table creation and data insertion ✅ Explored the database with a VS Code extension
Next Steps 🚀 Upcoming topics: - DML Commands (INSERT, UPDATE, DELETE) - Querying data using SELECT - Constraints and Relationships