The Querynomicon

An Introduction to SQL for the Cautious and Weary

Setup

Lessons

  1. Introduction: where we're going and why
  2. Core Features: getting values from tables
  3. Tools: Miscellaneous things that make life easier
  4. Python: using databases from Python
  5. Advanced Features: when you need 'em, you need 'em
  6. R: using databases from R
  7. PostgreSQL: client-server computing and permissions
  8. Conclusion: where we've been and what comes next

Appendices

  1. License
  2. Code of Conduct
  3. Contributing
  4. Bibliography
  5. Glossary

Acknowledgments

This tutorial would not have been possible without:

We also thank the following people for spotting issues, making suggestions, or submitting changes:

  • Yanina Bellini Saibene
  • Phillip Cloud
  • Zoe Daniels
  • Conor Flynn
  • Andy Goldberg
  • Jay Graves
  • Sam Hames
  • Adam Hawkes
  • Robert Kern
  • Olivier Leroy
  • Kevin Marshall
  • Roy Pardee
  • Manos Pitsidianakis
  • Daniel Possenriede
  • Adam Rosien
  • Thomas Sandmann
  • Simon Willison

start where you are · use what you have · help who you can