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.
How to Transpose Rows to Columns on Multiple Fields in Each Group

How to Transpose Rows to Columns on Multiple Fields in Each Group

5
Comments 1
2 min read
Widget Dashboards via Wizard's Toolkit

Widget Dashboards via Wizard's Toolkit

Comments
3 min read
Effective Annotating of Strace Output for MySQL Performance Troubleshooting

Effective Annotating of Strace Output for MySQL Performance Troubleshooting

Comments
4 min read
Collection of Hands-on Exercises to Get Started with Apache Iceberg

Collection of Hands-on Exercises to Get Started with Apache Iceberg

Comments
4 min read
How can we analyze total wait times in the last 15 minutes on Oracle RDBMS by users?

How can we analyze total wait times in the last 15 minutes on Oracle RDBMS by users?

Comments
4 min read
All Your Monitoring Solutions Are Just Wrong

All Your Monitoring Solutions Are Just Wrong

Comments
8 min read
Using migrations with Golang

Using migrations with Golang

7
Comments
5 min read
Predicate Pushdown - Understanding Practically With An Example

Predicate Pushdown - Understanding Practically With An Example

1
Comments
2 min read
Oracle Database - Identifying Session Tracefiles - without actually tracing them :-)

Oracle Database - Identifying Session Tracefiles - without actually tracing them :-)

2
Comments
4 min read
Python and SQL: Objects in Programming

Python and SQL: Objects in Programming

1
Comments
3 min read
In a Multilevel Relationship, How to Replace Null Values at Nodes by Corresponding Values at Their Parent Nodes

In a Multilevel Relationship, How to Replace Null Values at Nodes by Corresponding Values at Their Parent Nodes

5
Comments 1
1 min read
Oracle Database - Compare Execution Plans

Oracle Database - Compare Execution Plans

3
Comments
4 min read
Using T-SQL To Generate Large Amounts Of Test Data

Using T-SQL To Generate Large Amounts Of Test Data

Comments
1 min read
Move Fast and “Branch” Things

Move Fast and “Branch” Things

1
Comments
8 min read
SQL Injection Isn't Dead Yet

SQL Injection Isn't Dead Yet

32
Comments
6 min read
How to Replace a Null with the Corresponding Value in the Previous Record

How to Replace a Null with the Corresponding Value in the Previous Record

6
Comments 1
1 min read
Mastering SQL Queries: A Comprehensive Guide for Beginners

Mastering SQL Queries: A Comprehensive Guide for Beginners

22
Comments 4
2 min read
Harnessing the Power of MySQL: Building Robust Database Solutions for Web Applications

Harnessing the Power of MySQL: Building Robust Database Solutions for Web Applications

Comments
3 min read
Are There “Queries over Trillion-Row Tables in Seconds”? Is “N-Times Faster Than ORACLE” an Exaggeration?

Are There “Queries over Trillion-Row Tables in Seconds”? Is “N-Times Faster Than ORACLE” an Exaggeration?

Comments
4 min read
A Clever Way To Implement Pessimistic Locking in EF Core

A Clever Way To Implement Pessimistic Locking in EF Core

Comments
5 min read
How to Secure Your Supabase Database and Storage

How to Secure Your Supabase Database and Storage

Comments
6 min read
How to Calculate Median on Values That Have Corresponding Quantities

How to Calculate Median on Values That Have Corresponding Quantities

5
Comments
2 min read
Expose your database as a REST API safely and without code

Expose your database as a REST API safely and without code

3
Comments 2
3 min read
Unveiling the Power of Database-Side Rendering: Elevating Web Development Standards

Unveiling the Power of Database-Side Rendering: Elevating Web Development Standards

Comments
2 min read
Passing The DataCamp SQL Associate Certificate

Passing The DataCamp SQL Associate Certificate

Comments
2 min read
Dealing with duplicates

Dealing with duplicates

Comments
3 min read
Understanding SQL vs. NoSQL Databases: A Beginner's Guide

Understanding SQL vs. NoSQL Databases: A Beginner's Guide

2
Comments
2 min read
Building a Mermaid.js Gantt Chart in a FileMaker Web Viewer

Building a Mermaid.js Gantt Chart in a FileMaker Web Viewer

Comments
5 min read
Using SQL to discover problem dates in your data

Using SQL to discover problem dates in your data

Comments
10 min read
Personal Knowledge Graphs in Relational Model

Personal Knowledge Graphs in Relational Model

Comments
5 min read
What is the Difference between "sequel" and "SQL"?

What is the Difference between "sequel" and "SQL"?

6
Comments 4
1 min read
How to Back Up and Restore Azure SQL Databases

How to Back Up and Restore Azure SQL Databases

1
Comments
8 min read
Working with PHP and Databases: MySQL vs. PostgreSQL

Working with PHP and Databases: MySQL vs. PostgreSQL

Comments
3 min read
Finding Which Columns Value Has Actually Changed in PostgreSQL Trigger Functions

Finding Which Columns Value Has Actually Changed in PostgreSQL Trigger Functions

1
Comments
2 min read
Getting Started with SQL: An Overview of Its Role in Data Fields

Getting Started with SQL: An Overview of Its Role in Data Fields

Comments
3 min read
Building a REST API with FastAPI, Async SQLModel, and PostgreSQL

Building a REST API with FastAPI, Async SQLModel, and PostgreSQL

4
Comments
1 min read
Boosting PostgreSQL Performance: Configuring Efficient Caching for Optimal Query Response

Boosting PostgreSQL Performance: Configuring Efficient Caching for Optimal Query Response

Comments
2 min read
Strategic Indexing: Making Informed Column Indexing Decisions in PostgreSQL

Strategic Indexing: Making Informed Column Indexing Decisions in PostgreSQL

Comments
3 min read
How to check the distribution of timestamps in a PostgreSQL table?

How to check the distribution of timestamps in a PostgreSQL table?

Comments
3 min read
How to check if the PostgreSQL tables of the same structure have identical data using aggregated hash and md5?

How to check if the PostgreSQL tables of the same structure have identical data using aggregated hash and md5?

Comments
2 min read
How do you check the top IOPs intensive queries in PostgreSQL DB?

How do you check the top IOPs intensive queries in PostgreSQL DB?

Comments
2 min read
PostgreSQL. How do you find potentially ineffective indexes?

PostgreSQL. How do you find potentially ineffective indexes?

Comments
2 min read
Unveiling Differences: A Deep Dive into Comparing Tables, Indexes, and Functions Across PostgreSQL Databases

Unveiling Differences: A Deep Dive into Comparing Tables, Indexes, and Functions Across PostgreSQL Databases

Comments
7 min read
🪄 DuckDB sql hack : get things SORTED w/ constraint CHECK

🪄 DuckDB sql hack : get things SORTED w/ constraint CHECK

Comments 2
3 min read
Wizard's Toolkit Demo

Wizard's Toolkit Demo

Comments
2 min read
9 Reasons to Avoid Using SELECT * and 2 Exceptional Cases

9 Reasons to Avoid Using SELECT * and 2 Exceptional Cases

Comments
4 min read
How to Connect to SQL Server in Java

How to Connect to SQL Server in Java

Comments
1 min read
HackerRank SQL preparation; Revising the Select Query II(MySQL)

HackerRank SQL preparation; Revising the Select Query II(MySQL)

1
Comments
1 min read
Retrieving the latest row per group from PostgreSQL

Retrieving the latest row per group from PostgreSQL

2
Comments
11 min read
MyScaleDB, the Revolutionary SQL Vector Database, Goes Open-Source

MyScaleDB, the Revolutionary SQL Vector Database, Goes Open-Source

Comments
2 min read
PostgreSQL with modern storage: what about a lower random_page_cost?

PostgreSQL with modern storage: what about a lower random_page_cost?

5
Comments
11 min read
Como normalizar banco de dados?

Como normalizar banco de dados?

9
Comments
2 min read
The best free database providers in 2024

The best free database providers in 2024

12
Comments 1
5 min read
What is Surrogate Key in SQL?

What is Surrogate Key in SQL?

Comments
2 min read
Simplify Database Migrations using Python with Alembic

Simplify Database Migrations using Python with Alembic

1
Comments
7 min read
HackerRank SQL Preparation: Revising the Select Query I(MySQL)

HackerRank SQL Preparation: Revising the Select Query I(MySQL)

1
Comments
1 min read
An Introduction to SQL Server Query Store

An Introduction to SQL Server Query Store

2
Comments
3 min read
How to Split Attributes of Same Type in One Row and Convert Them into Multiple Rows

How to Split Attributes of Same Type in One Row and Convert Them into Multiple Rows

6
Comments
2 min read
Las 15 Consultas SQL Desde Lo Más Básico Hasta Lo No Tan Básico

Las 15 Consultas SQL Desde Lo Más Básico Hasta Lo No Tan Básico

Comments
3 min read
Optimizing PostgreSQL Trigger Execution: Balancing Precision with Control

Optimizing PostgreSQL Trigger Execution: Balancing Precision with Control

Comments
3 min read
loading...