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.
Exploring New Features in PostgreSQL 17 with Python

Exploring New Features in PostgreSQL 17 with Python

Comments
3 min read
Group and Summarize data, and align to the specified sequence #eg31

Group and Summarize data, and align to the specified sequence #eg31

6
Comments
1 min read
Why Developers should understand SQL Server Performance

Why Developers should understand SQL Server Performance

Comments
2 min read
Boost Your Website Security for Free with SafeLine WAF

Boost Your Website Security for Free with SafeLine WAF

5
Comments
3 min read
How to Downsample Your Data Efficiently

How to Downsample Your Data Efficiently

Comments
2 min read
Unlocking the Power of Text-to-SQL with LangDB

Unlocking the Power of Text-to-SQL with LangDB

2
Comments
3 min read
Cast for type conversion in SQL

Cast for type conversion in SQL

1
Comments
2 min read
Overcome the Limitations of Traditional WAFs: How SafeLine Enhances Security

Overcome the Limitations of Traditional WAFs: How SafeLine Enhances Security

5
Comments
3 min read
Understanding Data Normalization and Database Design Principles

Understanding Data Normalization and Database Design Principles

Comments
2 min read
Basic MySQL Queries: A Comprehensive Guide

Basic MySQL Queries: A Comprehensive Guide

5
Comments
4 min read
Create and Connect to an Azure SQL Database on Heroku: A Step-By-Step Guide

Create and Connect to an Azure SQL Database on Heroku: A Step-By-Step Guide

Comments
1 min read
Creating Unique Slugs on Supabase with PostgreSQL

Creating Unique Slugs on Supabase with PostgreSQL

1
Comments
3 min read
SQL, mark continuous rows with sequence numbers #eg30

SQL, mark continuous rows with sequence numbers #eg30

7
Comments
1 min read
Fundamentals of Transact-SQL (T-SQL) Queries

Fundamentals of Transact-SQL (T-SQL) Queries

Comments
2 min read
Recommended Project: Creating Stored Procedures for Course Data Retrieval

Recommended Project: Creating Stored Procedures for Course Data Retrieval

Comments
3 min read
Essential Database Concepts Explained

Essential Database Concepts Explained

Comments
2 min read
[Resolved] Integrity constraint violation – Fast tips

[Resolved] Integrity constraint violation – Fast tips

Comments
3 min read
How To Use The SQL Server ALTER Keyword To Modify Database Objects

How To Use The SQL Server ALTER Keyword To Modify Database Objects

Comments
9 min read
SQL, compute cumulative sums according to the termination condition #eg29

SQL, compute cumulative sums according to the termination condition #eg29

7
Comments 1
1 min read
SafeLine: Secure Your Web Applications Effortlessly

SafeLine: Secure Your Web Applications Effortlessly

5
Comments
2 min read
Understanding your data: The Essentials of Exploratory Data Analysis (EDA).

Understanding your data: The Essentials of Exploratory Data Analysis (EDA).

Comments
2 min read
SQL, parse json data #eg28

SQL, parse json data #eg28

6
Comments
1 min read
IMPORTING DATA USING PYTHON TO MYSQL

IMPORTING DATA USING PYTHON TO MYSQL

1
Comments
2 min read
Understanding The ‘AND’ Keyword In SQL Server

Understanding The ‘AND’ Keyword In SQL Server

1
Comments
5 min read
DbGate - a fast cross-database client

DbGate - a fast cross-database client

Comments
1 min read
A Comprehensive Guide to Materialized Views in MySQL

A Comprehensive Guide to Materialized Views in MySQL

Comments
33 min read
I deleted our database after 72 hours of no sleep.

I deleted our database after 72 hours of no sleep.

Comments
1 min read
Understanding Your Data: The Essentials of Exploratory Data Analysis

Understanding Your Data: The Essentials of Exploratory Data Analysis

Comments
3 min read
Dynamic SQL Best Practices (or "How to Avoid Both SQL Injection Vulnerabilities and Spaghetti Code")

Dynamic SQL Best Practices (or "How to Avoid Both SQL Injection Vulnerabilities and Spaghetti Code")

1
Comments
11 min read
Navigating Open Source Software: All Your Questions Answered

Navigating Open Source Software: All Your Questions Answered

Comments
7 min read
Clear duplicate lines and lines having missing values from a csv file #eg24

Clear duplicate lines and lines having missing values from a csv file #eg24

7
Comments 1
1 min read
🗂️ Understanding SQL Relationships: A Beginner's Guide

🗂️ Understanding SQL Relationships: A Beginner's Guide

1
Comments
3 min read
📝 SQL Cheat Sheet for Developers

📝 SQL Cheat Sheet for Developers

1
Comments 1
3 min read
Mastering SQL: Best Practices for Developers

Mastering SQL: Best Practices for Developers

Comments
1 min read
Calling SQL Developers for assist

Calling SQL Developers for assist

Comments
1 min read
Top 8 Managed Postgres Providers

Top 8 Managed Postgres Providers

2
Comments
8 min read
Essential PSQL 50 Selected Practice Questions with Answers

Essential PSQL 50 Selected Practice Questions with Answers

Comments
14 min read
Schema + Data migration in Prisma (adding a new mandatory field)

Schema + Data migration in Prisma (adding a new mandatory field)

Comments
2 min read
Essential MtSQL 50 Selected Practice Questions with Answers

Essential MtSQL 50 Selected Practice Questions with Answers

Comments
13 min read
SQL, concatenate multiple rows of strings and remove duplicates #eg27

SQL, concatenate multiple rows of strings and remove duplicates #eg27

11
Comments
1 min read
How to check the MySQL version on Windows, so easy that even a five-year-old can learn it

How to check the MySQL version on Windows, so easy that even a five-year-old can learn it

Comments
4 min read
Exploratory Data Analysis Using SQL.

Exploratory Data Analysis Using SQL.

Comments
3 min read
SQL, split values of two columns respectively and count members of their intersection #eg20

SQL, split values of two columns respectively and count members of their intersection #eg20

7
Comments 1
1 min read
Using Bitmasks for Efficient Data Filtering

Using Bitmasks for Efficient Data Filtering

Comments
1 min read
Build a Database Schema In 5 Steps

Build a Database Schema In 5 Steps

Comments
26 min read
SQL, Set different flags for different groups according to whether there are duplicate values #eg19

SQL, Set different flags for different groups according to whether there are duplicate values #eg19

8
Comments 1
1 min read
SQL Complete guide for Interview

SQL Complete guide for Interview

37
Comments 5
13 min read
Add Missing Sequence Numbers to One Table according to The Other and Combine Two Tables #eg18

Add Missing Sequence Numbers to One Table according to The Other and Combine Two Tables #eg18

6
Comments 1
1 min read
Get the First Missing Item for the Sequence of Should-have-been Continuous Sequence Numbers #eg16

Get the First Missing Item for the Sequence of Should-have-been Continuous Sequence Numbers #eg16

6
Comments 1
2 min read
Merge multiple files, remove duplicates and sort the result #eg25

Merge multiple files, remove duplicates and sort the result #eg25

11
Comments 1
1 min read
Postgres major version upgrades with minimal downtime

Postgres major version upgrades with minimal downtime

Comments
4 min read
Enabling Special Needs Education and Empowerment

Enabling Special Needs Education and Empowerment

1
Comments
2 min read
Transpose Multiple Columns into One Row in Each Group #eg15

Transpose Multiple Columns into One Row in Each Group #eg15

6
Comments 1
1 min read
Education Connect: Revolutionizing Parent-School Communication

Education Connect: Revolutionizing Parent-School Communication

1
Comments
2 min read
Performance Pitfalls: Using Hints in Oracle Database

Performance Pitfalls: Using Hints in Oracle Database

5
Comments
2 min read
Uploading Excel Files to SSMS Table

Uploading Excel Files to SSMS Table

Comments
3 min read
Understanding Database Views: Usage, Benefits, and Considerations

Understanding Database Views: Usage, Benefits, and Considerations

Comments
3 min read
SQL, get historical status of each ID #eg22

SQL, get historical status of each ID #eg22

8
Comments 1
1 min read
ProjectEvent

ProjectEvent

Comments
3 min read
ProBook

ProBook

Comments
1 min read
loading...