Select Star SQL

Questo è un libro interattivo che vuole essere il miglior luogo in internet dove imparare SQL. È gratuito, senza alcuna pubblicità e non richiede né registrazione né download. Ti aiuta ad imparare mentre scrivi query interrogando dati reali e, di conseguenza, completando i progetti assegnati. Non è una semplice pagina di riferimento — trasmette un modello mentale per scrivere in SQL.

Mi aspetto poca o nessuna conoscenza di programmazione. Ciascun capitolo è progettato per essere completato in circa 30 minuti. Poiché la maggior parte dei dati mondiali viene archiviata nei database, mi aspetto che questo tempo offrirà i suoi ricchi frutti!


The philosophical and technical underpinnings of this project.

Chapter 1 examines Napoleon Beazley's argument against capital punishment. We learn the structure of a SQL query and row operations on a table.

Chapter 2 estimates how many executed inmates may have been innocent. The technical theme is aggregating the entire table.

Chapter 3 studies counties with unusually high numbers of executions. We generalize Chapter 2 by applying aggregations on groups of rows.

Chapter 4 explores extended periods when no executions have occurred. Its theme is extending the table using joins.

Chapter 5 provides closing remarks and a collection of miscellaneous user-added challenge questions.