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.
Calling all beginners: simple SQL challenge

Calling all beginners: simple SQL challenge

10
Comments
2 min read
Story of an SQL query ~10x speed-up with a simple tweak

Story of an SQL query ~10x speed-up with a simple tweak

1
Comments 1
13 min read
SQL Server - Types of System Databases and Tables

SQL Server - Types of System Databases and Tables

4
Comments
3 min read
Isolation Levels - part III: Main concepts

Isolation Levels - part III: Main concepts

3
Comments 2
5 min read
Locks, latches & distributed system coordination

Locks, latches & distributed system coordination

Comments
9 min read
Materialized View to improve the performance of complex queries?

Materialized View to improve the performance of complex queries?

1
Comments
3 min read
SQL Math Functions with Use Cases

SQL Math Functions with Use Cases

4
Comments 4
2 min read
Isolation Levels - part II: Characteristics and use-case

Isolation Levels - part II: Characteristics and use-case

2
Comments
4 min read
Isolation Levels - part I: Introduction

Isolation Levels - part I: Introduction

8
Comments
3 min read
Unlock the Power of SQL JOINs: A Comprehensive Guide

Unlock the Power of SQL JOINs: A Comprehensive Guide

1
Comments
4 min read
Study Note | SQL Injection

Study Note | SQL Injection

2
Comments
1 min read
Let's have fun with MySQL JSON functions!

Let's have fun with MySQL JSON functions!

5
Comments 4
4 min read
It's not surprising that it's N times faster than ORACLE, such lightweight is the king

It's not surprising that it's N times faster than ORACLE, such lightweight is the king

7
Comments
7 min read
Tenha controle sobre seu SQL com Golang e SQLC

Tenha controle sobre seu SQL com Golang e SQLC

14
Comments
11 min read
Structured Query Language (SQL) - Series

Structured Query Language (SQL) - Series

6
Comments 1
2 min read
The Hallucinated Rows Incident

The Hallucinated Rows Incident

6
Comments 1
11 min read
A Comprehensive Guide to SQL Query Optimization Techniques

A Comprehensive Guide to SQL Query Optimization Techniques

1
Comments 1
2 min read
Maximizing Database Efficiency Mastering Query Optimization in SQL

Maximizing Database Efficiency Mastering Query Optimization in SQL

Comments
2 min read
How To Create Many-to-Many Relationships in SQL

How To Create Many-to-Many Relationships in SQL

13
Comments 2
21 min read
Why do we NOLOCK in SQL server with an example

Why do we NOLOCK in SQL server with an example

1
Comments
1 min read
Why do we NOLOCK AND LOCK in SQL server with an example

Why do we NOLOCK AND LOCK in SQL server with an example

Comments
1 min read
Database server communication and data migration from one database to another server database in SQL server

Database server communication and data migration from one database to another server database in SQL server

Comments
2 min read
đźš› Deploy Database Schema Migrations with Bytebase

đźš› Deploy Database Schema Migrations with Bytebase

9
Comments
5 min read
Inserting Data from One Table to Another in SQL using INSERT INTO using SELECT Statement

Inserting Data from One Table to Another in SQL using INSERT INTO using SELECT Statement

Comments
1 min read
How to create and configure a linked server in SQL Server Management Studio

How to create and configure a linked server in SQL Server Management Studio

Comments
2 min read
What makes a database ACID compliant?🧪

What makes a database ACID compliant?🧪

12
Comments
6 min read
The simplicity of DuckDB

The simplicity of DuckDB

3
Comments
9 min read
Row Level Security with an ARRAY of tenants set in session parameter (RLS)

Row Level Security with an ARRAY of tenants set in session parameter (RLS)

Comments 6
8 min read
Entendendo o WHERE e o ORDER BY

Entendendo o WHERE e o ORDER BY

1
Comments
2 min read
Stored Procedures: Where to Go

Stored Procedures: Where to Go

10
Comments
5 min read
Usando migrations com Golang

Usando migrations com Golang

14
Comments
5 min read
Data Engineering For Beginners: A Step-By-Step Guide

Data Engineering For Beginners: A Step-By-Step Guide

5
Comments
8 min read
What the pluck?

What the pluck?

2
Comments 1
4 min read
O problema de SQL que quase me enlouqueceu

O problema de SQL que quase me enlouqueceu

14
Comments
5 min read
Partition Strategies: Fundamental Concepts for PostgreSQL Partitioning

Partition Strategies: Fundamental Concepts for PostgreSQL Partitioning

4
Comments
4 min read
Deploying a Golang RESTful API with Gin, SQLC and PostgreSQL

Deploying a Golang RESTful API with Gin, SQLC and PostgreSQL

5
Comments
22 min read
Top 10 Tools For SQL Writing For Students

Top 10 Tools For SQL Writing For Students

Comments
2 min read
How to check the number of queries per second (QPS) on the PostgreSQL DB instance?

How to check the number of queries per second (QPS) on the PostgreSQL DB instance?

7
Comments
1 min read
How to Deploy PostgreSQL with Docker and Docker Compose

How to Deploy PostgreSQL with Docker and Docker Compose

Comments 4
6 min read
Authorization

Authorization

1
Comments 1
3 min read
What Are ORMs & Should You Use Them

What Are ORMs & Should You Use Them

Comments
7 min read
IN() list filter with Top-N

IN() list filter with Top-N

6
Comments
15 min read
What is the CASE Statement in sql?

What is the CASE Statement in sql?

5
Comments
2 min read
Using SQLite to Examine Data Relationships and Compare Tables

Using SQLite to Examine Data Relationships and Compare Tables

Comments
7 min read
Embedded Python Stored Procedure

Embedded Python Stored Procedure

Comments
6 min read
PostgreSQL Internals: A Deep Dive into the Inner Workings of a Powerful Relational Database

PostgreSQL Internals: A Deep Dive into the Inner Workings of a Powerful Relational Database

7
Comments
3 min read
SQL 📊 challenge_3 ⚔️

SQL 📊 challenge_3 ⚔️

Comments
1 min read
How to prevent database problems from hitting production?

How to prevent database problems from hitting production?

Comments
10 min read
Foreign Keys on Distributed SQL: don't worry, it scales

Foreign Keys on Distributed SQL: don't worry, it scales

1
Comments
6 min read
Understanding Keys in Relational Databases 🔑

Understanding Keys in Relational Databases 🔑

6
Comments 3
2 min read
Deep Dive into Google Cloud SQL Connector for Node.js

Deep Dive into Google Cloud SQL Connector for Node.js

Comments
9 min read
Indexes 101: What They Are, Why They Matter, and How to Use Them in PostgreSQL

Indexes 101: What They Are, Why They Matter, and How to Use Them in PostgreSQL

5
Comments
6 min read
7 Tips to Optimise Postgres query performance

7 Tips to Optimise Postgres query performance

1
Comments
1 min read
Triggers in SQL database to extend its declarative data logic (but not business logic)

Triggers in SQL database to extend its declarative data logic (but not business logic)

1
Comments
5 min read
How To Write SQL Statements That Are Migratable Between Databases

How To Write SQL Statements That Are Migratable Between Databases

5
Comments
4 min read
Unlocking the Power of Apache Age: Advanced Techniques for SQL/Cypher Hybrid Queries

Unlocking the Power of Apache Age: Advanced Techniques for SQL/Cypher Hybrid Queries

Comments
2 min read
Easily Generate Mock Data with PostgreSQL

Easily Generate Mock Data with PostgreSQL

10
Comments
4 min read
SQLite OR Operator: A Comprehensive Guide for Beginners

SQLite OR Operator: A Comprehensive Guide for Beginners

Comments
3 min read
Why 0 is better than NULL sometimes

Why 0 is better than NULL sometimes

4
Comments 2
2 min read
Explorando el Mundo de los Archivos de Recurso en C# con Visual Studio

Explorando el Mundo de los Archivos de Recurso en C# con Visual Studio

2
Comments
2 min read
loading...