• Fundamentals & Training
    • Enroll Now in Everything
    • Fundamentals of Select
    • Fundamentals of Index Tuning
    • Fundamentals of Vacuum
    • Fundamentals of Python
    • Download the Stack Overflow Sample Database for Postgres
  • Blog
    • Newsletter Archives
    • Query Exercises
    • Query Exercise Answers
  • About
  • Contact
Enroll Now

Query Exercise: Find Foreign Key Problems

January 4, 2024
Let’s say we’ve decided to implement foreign keys, and we need to find data that’s going to violate our desired keys. We’re going to use the Stack Overflow database, and…
Learn more
Elephant in cyberpunk street scene

Smart Postgres News and Techniques 2024 Vol 1

January 2, 2024
When picking a primary key for a table, you might pick a UUID, serial, or identity column. Laurenz Albe says you should default to using a bigint sequence, and explains…
Learn more
Cool elephant wearing sunglasses.

Smart Postgres News and Techniques 2023 Vol 52

December 26, 2023
When you need to change a table, and we’re talking big changes like changing a column type, adding a constraint, or creating an index, you have to be careful if…
Learn more
Previous 1 … 4 5 6 7

© Smart Postgres, Inc. All rights reserved. For questions, email humans@smartpostgres.com.