academy
academy copied to clipboard
adding initial draft of Quick SQL Tricks Guide
cc @ohasselblad
hey @ohasselblad - let me know what you think of this initial draft and if I should add anything :)
Wondering if I should explain the WHERE operator? Casting? Alias? Etc?
Nice list, @michellechandra 👍
A few thoughts:
- more crosslinking to our other resources (academy, tutorials)
- Yeah, basic WHERE would be cool, and could reference the first sql lesson. Talking about AND and OR logic would be nice as well.
- Yep, I like casting
- Yep, I like aliasing :)
- Measuring distances in meters (casting to
::geography
type, could be good)
Was going to not review anything PostGIS related, would there be a way to discuss the geography type using just a SQL query that would be relevant? Or should that be saved for a different guide that is PostGIS tricks?
Good point, let's do a different guide on PostGIS