photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

238
active users

#sql

3 posts3 participants0 posts today
Jürgen<p>Major upgrade des <a href="https://mastodon.social/tags/csv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csv</span></a> <a href="https://mastodon.social/tags/jdbc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jdbc</span></a> Treibers in der <a href="https://mastodon.social/tags/sQLshell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sQLshell</span></a> heute: nun versteht die query engine endlich komplexe <a href="https://mastodon.social/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a> <a href="https://mastodon.social/tags/where" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>where</span></a> klauseln!</p>

queryquest.de ist mein Vorschlag als Alternative zum bekannten 🏝️ SQL Island: SQL spielerisch mit einer Inselflucht lernen ohne zu töten, machbare Lernkurve, Aufgaben überspringen, Tipps, für Lehrkräfte beobachtbarer Lernfortschritt.

Query Quest lässt sich leicht um eigene Datenbanken und Missionen erweitern. Schreib mir gern, wenn du Ideen hast. 🙂

General SQL "zen" question.

So I find myself struggling sometimes with SQL syntax because I just don't have a good sense of its composability. As in... All the things I've learned so far don't seem to tend to add up to being able to guess what a slight extension on my current syntax knowledge might be, and it's hard to find in search engines because the syntax is all English particles and verbs.

Example: I'm over here looking at a situation where there's a table with multiple foreign keys to the same other table. And I'm like "Okay... So I know how to do a LEFT JOIN on one table, but this is a LEFT JOIN on the same table over and over with different filters... How?" And it turns out you can change the local name of a joined-to table with the AS keyword to do this, so

select whatever from foo
LEFT JOIN bar AS bar1 on bar1.id = foo.x
LEF JOIN bar as bar2 on bar2.id = foo.y

And like... now that I know the as keyword applies here, that makes perfect sense, but how would I get there? Is there a list somewhere of "This is a keyword in SQL and here's all the contexts it could be applied?"

💧 Supabase MCP can leak your entire SQL database

「 The cursor assistant operates the Supabase database with elevated access via the service_role, which bypasses all row-level security (RLS) protections. At the same time, it reads customer-submitted messages as part of its input. If one of those messages contains carefully crafted instructions, the assistant may interpret them as commands and execute SQL unintentionally 」

simonwillison.net/2025/Jul/6/s

Simon Willison’s WeblogSupabase MCP can leak your entire SQL databaseHere's yet another example of a lethal trifecta attack, where an LLM system combines access to private data, exposure to potentially malicious instructions and a mechanism to communicate data back …

Who in the #TSQL language implementation team at Microsoft thought it was a good idea to differentiate between INSERT INTO - SELECT and SELECT INTO? Who thought it would be reasonable to expect that us users of those statements would find it obvious that one of them creates a new table and the other doesn't, but the one that doesn't also can't be used to insert rows into an existing table? Is this a thing other #SQL dialects do too?

I want to be your next #FediHire ! I've been a programmer since 1985 (as a child), I've been an IT professional since 1995 (pulling wires and swapping cards and configuring MS Windows). I graduated from University of Arkansas Fayetteville with a BS in CS in December of 2003. A full resume is available.

I currently require a 100% remote position. I cannot relocate from Cove, #Arkansas. I would prefer W-2 employment with a base salary of at least 130k USD/yr, plus some sort of retirement offering (401k or similar) and healthcare benefits (HDCP + HSA or similar).

I prefer something where I can be a high-performing individual contributor: reading, writing and improving source text the majority of my day, with some time spent knowledge-sharing with other developers -- learning and teaching. I'd like to work with #Haskell, #Purescript, or #Idris as the primary source language. I've previously delivered value in Haskell, #Javascript, #SQL, #Python, #Scala, #Java, #C, and #Cxx among others. I can be productive in almost any language (no PHP, please; I promised myself never again).

pro tip for user interface designers:

if you have hundreds of millions of dollars of venture capital and you want to make a user facing data analytics tool of some kind and you think it's reasonable to ask an average human being to type this:

CAST('2023-05-01' AS TIMESTAMP)

to do literally anything with a date or time in your application's user interface, just stop right there. do not pass go, do not collect $200, and do not ever attempt to offer feedback to a UX designer ever again. something is deeply broken inside you that means there are certain mysteries of the universe that even the guys who designed the postgres command line can access that you will never know, and that's ok. You can still live a really rad life.