DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
"Table 'test.p' doesn't exist" — Understanding SQL Aliases and Default JOIN Behavior

"Table 'test.p' doesn't exist" — Understanding SQL Aliases and Default JOIN Behavior

Comments
2 min read
How Databricks Genie Turns Plain English Into SQL Code

How Databricks Genie Turns Plain English Into SQL Code

5
Comments
11 min read
SQL Views Explained: Write Once, Query Forever

SQL Views Explained: Write Once, Query Forever

Comments 1
6 min read
CVE-2026-21643: FortiClient EMS Critical SQL Injection — Actively Exploited, No Credentials Required

CVE-2026-21643: FortiClient EMS Critical SQL Injection — Actively Exploited, No Credentials Required

Comments
2 min read
I Analyzed 10 Million Records in 47 Seconds Using Python + DuckDB (No Spark, No Cloud)

I Analyzed 10 Million Records in 47 Seconds Using Python + DuckDB (No Spark, No Cloud)

3
Comments 2
3 min read
Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Comments 1
3 min read
MySQL InnoDB Locking: The Silent Killer Behind Database Crashes

MySQL InnoDB Locking: The Silent Killer Behind Database Crashes

Comments 1
24 min read
CTEs vs Subqueries in SQL: Which One Should You Use?

CTEs vs Subqueries in SQL: Which One Should You Use?

Comments
3 min read
PetStore: Pure Java for UI and Safe SQL Mapping

PetStore: Pure Java for UI and Safe SQL Mapping

Comments
3 min read
SQL String Functions: Clean, Transform, and Tame Messy Data Like a Pro

SQL String Functions: Clean, Transform, and Tame Messy Data Like a Pro

Comments
6 min read
How to Optimize BigQuery Costs (Real Techniques That Work)

How to Optimize BigQuery Costs (Real Techniques That Work)

1
Comments
9 min read
Data modelling in Power BI: Joins, Relationships, and Schemas Explained.

Data modelling in Power BI: Joins, Relationships, and Schemas Explained.

Comments
2 min read
SQL Injection Explained: How Hackers Bypass Login Forms (and How to Stop Them)

SQL Injection Explained: How Hackers Bypass Login Forms (and How to Stop Them)

1
Comments
3 min read
Leveling up: Adding SQLite Persistence to my Rust Guessing Game

Leveling up: Adding SQLite Persistence to my Rust Guessing Game

Comments
1 min read
AdventureWorks Is Dead. Here's a 42-Table Business Dataset That Actually Balances.

AdventureWorks Is Dead. Here's a 42-Table Business Dataset That Actually Balances.

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.