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.
Flask app with postgreSQL

Flask app with postgreSQL

6
Comments
1 min read
Creating PostgreSQL Test Data with SQL, PL/pgSQL, and Python

Creating PostgreSQL Test Data with SQL, PL/pgSQL, and Python

11
Comments 1
15 min read
Oracle Cheat Sheet

Oracle Cheat Sheet

40
Comments 2
5 min read
What is Stored Procedure in SQL

What is Stored Procedure in SQL

6
Comments
1 min read
How Database Load Balancing Completes the 3-Tiered Architecture

How Database Load Balancing Completes the 3-Tiered Architecture

5
Comments
5 min read
Loading Test Data into PostgreSQL

Loading Test Data into PostgreSQL

6
Comments 1
9 min read
Custom traits in Apache Calcite

Custom traits in Apache Calcite

4
Comments
7 min read
Combining SQL outer joins with inner joins

Combining SQL outer joins with inner joins

5
Comments
2 min read
Getting started with PostgreSQL Set Operators

Getting started with PostgreSQL Set Operators

7
Comments
4 min read
Quick-start SQL Server 2019 in Docker

Quick-start SQL Server 2019 in Docker

4
Comments
1 min read
Popular string functions in MySQL - Replace and Reverse

Popular string functions in MySQL - Replace and Reverse

4
Comments
1 min read
Using SQL or NoSQL

Using SQL or NoSQL

7
Comments 3
1 min read
Avoid SQL Server scalar-valued functions in WHERE statements at all cost!

Avoid SQL Server scalar-valued functions in WHERE statements at all cost!

4
Comments
4 min read
Popular string functions in MySQL - CONCAT and SUBSTRING

Popular string functions in MySQL - CONCAT and SUBSTRING

4
Comments
2 min read
Programming with SQLite

Programming with SQLite

5
Comments
2 min read
Can I get a dash of regular expression in my KQL?

Can I get a dash of regular expression in my KQL?

7
Comments
1 min read
TypeORM - Multiple DB Calls vs Single DB Call

TypeORM - Multiple DB Calls vs Single DB Call

13
Comments
6 min read
3 small tips to make your SQL Server experience easier

3 small tips to make your SQL Server experience easier

8
Comments
5 min read
How To Find Unused Stored Procedures In SQL Server

How To Find Unused Stored Procedures In SQL Server

6
Comments
3 min read
Postgres Full Text Search

Postgres Full Text Search

4
Comments
5 min read
SQL Review - Useful queries for mySQL

SQL Review - Useful queries for mySQL

9
Comments
1 min read
What is SQL - Part 4

What is SQL - Part 4

7
Comments
7 min read
Building a Hybrid SQL + NoSQL E-Commerce Data Model

Building a Hybrid SQL + NoSQL E-Commerce Data Model

18
Comments
7 min read
No-Code: "It's a Trap!"

No-Code: "It's a Trap!"

8
Comments
9 min read
Kalman Filtering in SQL

Kalman Filtering in SQL

8
Comments
6 min read
Inside Presto Optimizer

Inside Presto Optimizer

7
Comments
9 min read
How to output raw SQL with filled parameters in TypeORM?

How to output raw SQL with filled parameters in TypeORM?

14
Comments 3
2 min read
What’s an Example of Good E-Commerce Database Design?

What’s an Example of Good E-Commerce Database Design?

37
Comments 2
8 min read
KnexJS: how to convert a SQL join with aliases and ordered by values from another table

KnexJS: how to convert a SQL join with aliases and ordered by values from another table

2
Comments
1 min read
I analyzed my six years of food deliveries

I analyzed my six years of food deliveries

7
Comments 7
5 min read
How Do You Design a Shopping Cart Database for E-Commerce?

How Do You Design a Shopping Cart Database for E-Commerce?

50
Comments 3
8 min read
What to do once you reach max integer value for an auto incremented column in Rails

What to do once you reach max integer value for an auto incremented column in Rails

6
Comments 2
2 min read
Creating Deployment & Rollback SQL Scripts from EntityFrameworkCore migrations

Creating Deployment & Rollback SQL Scripts from EntityFrameworkCore migrations

6
Comments
3 min read
What is SQL - Part 3

What is SQL - Part 3

4
Comments
6 min read
Using indexes to speed up queries in PostgreSQL

Using indexes to speed up queries in PostgreSQL

6
Comments
2 min read
Improve SQL Performance for Date Range Queries

Improve SQL Performance for Date Range Queries

3
Comments
2 min read
How to spot and fix Django ORM anti-patterns 04:55

How to spot and fix Django ORM anti-patterns

33
Comments 1
1 min read
Final Ruby on Rails project for Flatiron School

Final Ruby on Rails project for Flatiron School

2
Comments 1
2 min read
K8s on Windows/VirtualBox (and a DB)

K8s on Windows/VirtualBox (and a DB)

7
Comments
9 min read
What is SQL - Part 2

What is SQL - Part 2

4
Comments
4 min read
How to access joined data with ActiveRecord

How to access joined data with ActiveRecord

14
Comments
5 min read
SQL Review - GROUP BY Query

SQL Review - GROUP BY Query

7
Comments 3
2 min read
One WEIRD Trick for Speeding Up ORDER BY That You Probably Shouldn't Use

One WEIRD Trick for Speeding Up ORDER BY That You Probably Shouldn't Use

45
Comments 5
3 min read
Introduction to Database Transaction

Introduction to Database Transaction

8
Comments
2 min read
Anatomy of a PostgreSQL Query Plan

Anatomy of a PostgreSQL Query Plan

9
Comments
10 min read
Postgres Triggers

Postgres Triggers

10
Comments
3 min read
Practical example for Ranking with Window Functions

Practical example for Ranking with Window Functions

5
Comments
2 min read
How to Query Multiple Schemas With Postgresql

How to Query Multiple Schemas With Postgresql

12
Comments
3 min read
SQL injection cheat sheet

SQL injection cheat sheet

3
Comments
1 min read
Like, so confused...

Like, so confused...

13
Comments 2
2 min read
Mysql 5.7 Window Functions Workaround

Mysql 5.7 Window Functions Workaround

12
Comments
3 min read
Optimistic lock on Ruby on Rails

Optimistic lock on Ruby on Rails

12
Comments
3 min read
A Deeper Dive Into SQL

A Deeper Dive Into SQL

6
Comments 2
3 min read
Find the N+1 Query Problem in Rails Apps in Under 5 Mins 04:34

Find the N+1 Query Problem in Rails Apps in Under 5 Mins

29
Comments
1 min read
TIL PostgreSQL-style $facet

TIL PostgreSQL-style $facet

6
Comments
1 min read
What is SQL - Part 1

What is SQL - Part 1

8
Comments
3 min read
[Facts Alert]When to use which one ?MySQL Vs MongoDB

[Facts Alert]When to use which one ?MySQL Vs MongoDB

6
Comments 4
3 min read
Advanced SQL - PostgreSQL

Advanced SQL - PostgreSQL

6
Comments
2 min read
Understanding multiple joins in ActiveRecord

Understanding multiple joins in ActiveRecord

18
Comments
5 min read
Anything I Want With Sequel And Postgres

Anything I Want With Sequel And Postgres

8
Comments 3
7 min read
loading...