Skip to content

A focused training program that equips veterans with the skills to design, query, and manage PostgreSQL databases for real-world, mission-critical applications.

License

Notifications You must be signed in to change notification settings

Vets-Who-Code/sql-and-postgres-sql-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SQL & PostgreSQL Curriculum — Vets Who Code

Goal: Train veterans to confidently use PostgreSQL for storing, retrieving, and managing mission-critical data.


Module 1: PostgreSQL Basics

  • History & military roots (DARPA funding, Postgres origins)
  • Installing and connecting to PostgreSQL
  • Understanding databases, tables, rows, columns
  • Core SQL categories: DDL, DML, DQL, DCL, TCL
  • PostgreSQL data types (numeric, text, date/time, JSON)

Module 2: Querying Data

  • SELECT basics and selecting specific columns
  • Filtering with WHERE (=, >, <, LIKE, BETWEEN, IN)
  • Removing duplicates with DISTINCT
  • Sorting results with ORDER BY
  • Using LIMIT for result control

Module 3: Modifying Data

  • Adding data with INSERT
  • Changing data with UPDATE
  • Removing data with DELETE and TRUNCATE

Module 4: Working with Multiple Tables

  • Understanding primary & foreign keys
  • Joining tables: INNER, LEFT, RIGHT, FULL
  • Aggregating with GROUP BY and HAVING
  • Using subqueries

Module 5: Database Design & Management

  • Normalization basics (1NF, 2NF, 3NF)
  • Constraints: NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK
  • Creating & altering tables (CREATE, ALTER, DROP)
  • Indexes for performance

Module 6: Advanced PostgreSQL Features

  • Window functions (ROW_NUMBER, RANK)
  • Common Table Expressions (CTEs)
  • JSON and Array support in Postgres
  • Using EXPLAIN for query optimization

Module 7: PostgreSQL Administration

  • Roles and permissions (GRANT, REVOKE)
  • Backups & restores (pg_dump, pg_restore)
  • Basic performance tuning
  • Maintenance tasks (VACUUM, ANALYZE)

Capstone Project

  • Build and query a PostgreSQL database using real-world veteran-related datasets
  • Create reports and dashboards using SQL queries
  • Implement a role-based permission system

About

A focused training program that equips veterans with the skills to design, query, and manage PostgreSQL databases for real-world, mission-critical applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published