Querying an entire tableWe are able to dive right into it by the classic SELECT ALL from a table.Here’s the SQL:SELECT * FROM dfAnd here’s the pandasdfAnd there we've got it! All of...
Efficiency, readability, and scalabilityThe output is similar apart from the null values in the kind column which might easily get replaced with “all”.Using the GROUPING SETS has two major benefits:It's shorter and more intuitive...
A temporary guide on how databases interpret your SQL queriesIf we were to filter this table all the way down to only those cities in Recent Zealand we could write the next query, for...