med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

363
active users

#SQL

7 posts7 participants0 posts today
Peter Solnica<p>Gonna release drops_relation 0.1.0 on Monday. You can check out the README to see how the API looks like.</p><p>I'm really excited about this one 🙃</p><p><a href="https://hachyderm.io/tags/ElixirLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ElixirLang</span></a> <a href="https://hachyderm.io/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> <a href="https://hachyderm.io/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p><p><a href="https://github.com/solnic/drops_relation" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/solnic/drops_relati</span><span class="invisible">on</span></a></p>
Ryan Kennedy<p>Hey, <a href="https://hachyderm.io/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> nerds…looking for a clever way to order results by a list passed in as part of a WHERE…IN query. e.g.</p><p>SELECT language, label<br>FROM thing_labels<br>WHERE thing_id=13 AND language IN ['en', 'de', 'fr', 'es', 'it']<br>ORDER BY ???<br>LIMIT 1</p><p>I want to get the row where language=en, if it exists…if not, then the row where language=de…and so on. Think of it as a label prioritized by a list of languages, as provided by the caller (i.e. not by some ordering present in the database).</p><p>I can think of ways to do this with a CTE or temporary table that stores a language-to-priority mapping that I can join against and then ORDER BY. But I'm wondering if there's a clever SQL-ism I'm unaware of that can help to avoid needing that.</p>
pvergain (framapiaf)<p>- <a href="https://forum.grist.libre.sh/t/la-lettre-de-grist-gouv-juillet-2025/1582" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">forum.grist.libre.sh/t/la-lett</span><span class="invisible">re-de-grist-gouv-juillet-2025/1582</span></a> (La lettre de Grist.Gouv - Juillet 2025) par Aude</p><p>--&lt;--<br>L’équipe a concocté une nouvelle page d’accueil : <a href="https://lasuite.numerique.gouv.fr/produits/grist" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lasuite.numerique.gouv.fr/prod</span><span class="invisible">uits/grist</span></a> qui est affichée aux utilisateur·ice·s non connecté·e·s. </p><p>Effet waouh garanti 🤩 </p><p>...</p><p># grist, ical, n8n </p><p>guillaume a réussi à générer des flux iCal en utilisant Grist et n8n, si vous souhaitez qu’il le documente, vous pouvez aller voir son post ici: <a href="https://forum.grist.libre.sh/t/flux-ical-avec-grist-n8n/1557" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">forum.grist.libre.sh/t/flux-ic</span><span class="invisible">al-avec-grist-n8n/1557</span></a>.</p><p>...</p><p>--&gt;--</p><p><a href="https://framapiaf.org/tags/grist" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>grist</span></a> <a href="https://framapiaf.org/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> <a href="https://framapiaf.org/tags/GUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GUI</span></a> <a href="https://framapiaf.org/tags/NoCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoCode</span></a> <a href="https://framapiaf.org/tags/n8n" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>n8n</span></a> <a href="https://framapiaf.org/tags/ical" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ical</span></a></p>
Hacker News 50<p>SQL Injection as a Feature</p><p>Link: <a href="https://idiallo.com/blog/sql-injection-as-a-feature" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">idiallo.com/blog/sql-injection</span><span class="invisible">-as-a-feature</span></a><br>Discussion: <a href="https://news.ycombinator.com/item?id=44638304" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.ycombinator.com/item?id=4</span><span class="invisible">4638304</span></a></p><p><a href="https://social.lansky.name/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a></p>
Jerry Orr<p>An entertaining story about how a simple report page was gradually "enhanced" over time into an open textbox for users to enter their own SQL: <a href="https://idiallo.com/blog/sql-injection-as-a-feature" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">idiallo.com/blog/sql-injection</span><span class="invisible">-as-a-feature</span></a></p><p><a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://fosstodon.org/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a></p>
Thewatch<p><a href="https://mastodon.social/tags/data" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>data</span></a> <a href="https://mastodon.social/tags/dataengineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataengineering</span></a> <a href="https://mastodon.social/tags/datascience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>datascience</span></a> <a href="https://mastodon.social/tags/etl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>etl</span></a> <a href="https://mastodon.social/tags/DataPipe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataPipe</span></a> <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/sqlserver" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sqlserver</span></a> <a href="https://mastodon.social/tags/meme" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>meme</span></a> <a href="https://mastodon.social/tags/memes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memes</span></a></p>
Posit<p>Announcing streamlined MLOps with Orbital on Databricks 🛰️🧱</p><p>Orbital translates <a href="https://fosstodon.org/tags/ScikitLearn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ScikitLearn</span></a> <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> or <a href="https://fosstodon.org/tags/tidymodels" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tidymodels</span></a> <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> to native <a href="https://fosstodon.org/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> for direct database model execution.</p><p>Edgar Ruiz's post uses <a href="https://fosstodon.org/tags/Databricks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Databricks</span></a> as an integrated environment.</p><p>Learn more: <a href="https://posit.co/blog/databricks-orbital-r-python-model-deployment/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">posit.co/blog/databricks-orbit</span><span class="invisible">al-r-python-model-deployment/</span></a></p>
Senna 🌷<p>This is a neat little site to practice SQL queries on. Works better on desktop than mobile. I wish there was a mobile-friendly version of this concept that maybe just had a list of buttons that you could click to build the query. I guess I could make it but it seems like it would be a lot of work. Maybe sometime down the road.</p><p><a href="https://www.sql-practice.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">sql-practice.com/</span><span class="invisible"></span></a></p><p><a href="https://mindly.social/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mindly.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a></p>
Dave Mason<p>Fun fact: <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> is over 50 years old now.</p><p>Do any of the litany of frameworks stay relevant for 50 weeks?</p>
Dave Mason<p>When I was on the bird site, I followed the <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> hash tag to learn about Structured Query Language, databases, and the like.</p><p>I follow <a href="https://mastodon.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> in the Fediverse too. </p><p>But here, the vast majority of posts are about frameworks, ORM's, and other tools folks can use so they don't have to learn (or understand) a 4G language that's likely a lot simpler than the other tech complexities they've mastered.</p><p>I don't know how we got here.</p>
Mark T. Tomczak<p>General SQL "zen" question.</p><p>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.</p><p>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</p><pre><code>select whatever from foo<br>LEFT JOIN bar AS bar1 on bar1.id = foo.x<br>LEF JOIN bar as bar2 on bar2.id = foo.y<br></code></pre><p>And like... now that I know the <code>as</code> keyword applies here, that makes perfect sense, but how would I <em>get</em> there? Is there a list somewhere of "This is a keyword in SQL and here's all the contexts it could be applied?"</p><p><a href="https://mastodon.fixermark.com/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a></p>
Jonathan Peacher<p>Vibed a nice little <a href="https://fosstodon.org/tags/Django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Django</span></a> Admin <a href="https://fosstodon.org/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> runner to debug queries ✨</p>
Rafael Perez<p>Software developer Heval Hazal Kurt discusses the pros and cons of relational databases, in comparison with their document-based counterparts, in this July 2025 article. Polyglot systems combining both paradigms are discussed as an ideal solution to differing data access needs within a same project. </p><p>"When to Choose NoSQL Over SQL" </p><p><a href="https://hevalhazalkurt.com/blog/when-to-choose-nosql-over-sql/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hevalhazalkurt.com/blog/when-t</span><span class="invisible">o-choose-nosql-over-sql/</span></a></p><p><a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <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/nosql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nosql</span></a> <a href="https://mastodon.social/tags/databases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>databases</span></a></p>
Djoerd Hiemstra 🍉<p>Seems interesting: Enhanced <a href="https://idf.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> error messages facilitate faster error fixing</p><p><a href="https://doi.org/10.1007/s10664-025-10695-1" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">doi.org/10.1007/s10664-025-106</span><span class="invisible">95-1</span></a></p>
Axel ⌨🐧🐪🚴😷 | R.I.P Natenom<p>PSA for <a href="https://chaos.social/tags/mechanicalkeyboard" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mechanicalkeyboard</span></a> enthusiasts who are also using <a href="https://chaos.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a>:</p><p>group buy ≠ groupby</p><p>(SCNR)</p>
Deus Ex MacGuffin :damnified:<p>Goblin mode:</p><p>When signing up for an account at a new website, set your initial password to “; DROP TABLE CUSTOMERS; COMMIT; —“</p><p><a href="https://metalhead.club/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a> <a href="https://metalhead.club/tags/database" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>database</span></a> <a href="https://metalhead.club/tags/sqlinjection" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sqlinjection</span></a></p>
Alvin Ashcraft 🐿️<p>Using Regular Expressions (Regex) in SQL Server 2025: A Complete Guide.</p><p><a href="https://www.red-gate.com/simple-talk/featured/using-regex-in-sql-server-2025-complete-guide/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">red-gate.com/simple-talk/featu</span><span class="invisible">red/using-regex-in-sql-server-2025-complete-guide/</span></a> </p><p><a href="https://hachyderm.io/tags/regex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>regex</span></a> <a href="https://hachyderm.io/tags/sqlserver" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sqlserver</span></a> <a href="https://hachyderm.io/tags/database" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>database</span></a> <a href="https://hachyderm.io/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a> <a href="https://hachyderm.io/tags/regularexpressions" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>regularexpressions</span></a></p>
jbz<p>💧 Supabase MCP can leak your entire SQL database</p><p>「 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 」</p><p><a href="https://simonwillison.net/2025/Jul/6/supabase-mcp-lethal-trifecta/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">simonwillison.net/2025/Jul/6/s</span><span class="invisible">upabase-mcp-lethal-trifecta/</span></a></p><p><a href="https://indieweb.social/tags/supabase" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>supabase</span></a> <a href="https://indieweb.social/tags/databreach" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>databreach</span></a> <a href="https://indieweb.social/tags/mcp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mcp</span></a> <a href="https://indieweb.social/tags/sql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sql</span></a></p>
Towards Data Science<p>⭐ New Author Alert! ⭐ Data model changes causing headaches?? Meet Dave Flynn, one of our newest authors at Towards Data Science. His first article dives into change-aware data validation with column-level lineage, a game-changer for debugging complex <a href="https://hachyderm.io/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> data pipelines. </p><p><a href="https://towardsdatascience.com/change-aware-data-validation-with-column-level-lineage/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">towardsdatascience.com/change-</span><span class="invisible">aware-data-validation-with-column-level-lineage/</span></a></p>
Calishat<p><a href="https://researchbuzz.masto.host/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> <a href="https://researchbuzz.masto.host/tags/databases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>databases</span></a> <a href="https://researchbuzz.masto.host/tags/LEGO" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LEGO</span></a> </p><p>'This paper introduces the LEGO® Database, a large natural dataset that can be used to teach Structured Query Language (SQL) and relational database concepts.'</p><p><a href="https://eric.ed.gov/?id=EJ1468081" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">eric.ed.gov/?id=EJ1468081</span><span class="invisible"></span></a></p>