by erulabs · 2y ago · 0 comments
My mother raised me as a broke single mother because she could write SQL. I bought a home in my California home town because I could write good SQL and tune my.cnf. I suppose my toddler will never SELECT * FROM.
I wish it weren’t so, but it’s always felt a bit silly, hasn’t it? “Hey Siri, People own many Widgets and belong to one Team” is coming. Why would we want the future of computing not to obscure database operations? Why should our grandchildren care about shards? Let it all die.
I work at a big company with big data and sometimes trawl the query logs to speed things up and recently noticed an uptick in WTF queries that, I suspect, have had some AI 'assistance' ;)
(And even then lots of things are incompatible, e.g., count(*) vs count())
... while `count()` makes more sense from the engineering perspective: it is an aggregate function that takes zero number of arguments.
I personally prefer `count()`, but when my friends write `count(*)` or even `COUNT(*)`, they are still my friends.
[0] https://clickhouse.com/docs/en/sql-reference/aggregate-funct...