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.
Primary Key and Foreign Key in SQL | Part 1

Primary Key and Foreign Key in SQL | Part 1

1
Comments
2 min read
The Ultimate Guide to Data Analytics

The Ultimate Guide to Data Analytics

Comments
2 min read
%TYPE and %ROWTYPE Attributes in PLSQL

%TYPE and %ROWTYPE Attributes in PLSQL

5
Comments
2 min read
BULK COLLECT in PL/SQL

BULK COLLECT in PL/SQL

1
Comments
5 min read
Difference between UNION and UNION ALL in SQL

Difference between UNION and UNION ALL in SQL

Comments
2 min read
Cursor Types in PLSQL -Normal cursor and Reference cursor

Cursor Types in PLSQL -Normal cursor and Reference cursor

6
Comments
4 min read
Spring Data JPA Method Naming Conventions: Build Queries Without Writing SQL

Spring Data JPA Method Naming Conventions: Build Queries Without Writing SQL

1
Comments 1
2 min read
Cursor in PLSQL - Best Explanation

Cursor in PLSQL - Best Explanation

Comments
2 min read
Masking in SQL | PART 1

Masking in SQL | PART 1

1
Comments
2 min read
Common Table Expression (CTE) in PLSQL | Part 2

Common Table Expression (CTE) in PLSQL | Part 2

5
Comments
2 min read
Trigger in PL/SQL with Example - Part 2 | AFTER Trigger

Trigger in PL/SQL with Example - Part 2 | AFTER Trigger

8
Comments
2 min read
Introduction to SQL

Introduction to SQL

Comments 2
3 min read
Trigger in PL/SQL with Example - Part 1 | BEFORE Trigger

Trigger in PL/SQL with Example - Part 1 | BEFORE Trigger

2
Comments
2 min read
SQL - Sub Queries

SQL - Sub Queries

2
Comments
3 min read
Cursor in PLSQL

Cursor in PLSQL

7
Comments
5 min read
Mastering SQL Queries: The 'Format Query for Teacher Salary' Project

Mastering SQL Queries: The 'Format Query for Teacher Salary' Project

1
Comments
3 min read
SQL 101: INTRODUCTION TO SQL FOR DATA ANALYTICS

SQL 101: INTRODUCTION TO SQL FOR DATA ANALYTICS

1
Comments
4 min read
MySQL Basics: Understanding Isolation Level and Transaction Anomalies

MySQL Basics: Understanding Isolation Level and Transaction Anomalies

1
Comments
4 min read
PL/SQL collections - Associative Arrays, Nested Tables & VARRAYs.

PL/SQL collections - Associative Arrays, Nested Tables & VARRAYs.

6
Comments
2 min read
BULK COLLECT and FORALL in PLSQL

BULK COLLECT and FORALL in PLSQL

2
Comments
2 min read
Identity Inserts in Databases: The Debate Between Control and Flexibility (And What Benjamin Franklin Has to Do With It)

Identity Inserts in Databases: The Debate Between Control and Flexibility (And What Benjamin Franklin Has to Do With It)

3
Comments
4 min read
The Difference between Each Value in a Certain Column and Its Previous One and Display Result

The Difference between Each Value in a Certain Column and Its Previous One and Display Result

6
Comments
2 min read
Unlocking Clean Data: Mastering Key EDA Operations Using SQL

Unlocking Clean Data: Mastering Key EDA Operations Using SQL

3
Comments
3 min read
PL/SQL Developer, interview questions

PL/SQL Developer, interview questions

2
Comments
8 min read
Why should you upgrade your PostgreSQL today?

Why should you upgrade your PostgreSQL today?

1
Comments 1
3 min read
.NET8/EF8 - Exception: Microsoft.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '$

.NET8/EF8 - Exception: Microsoft.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near '$

1
Comments
4 min read
MySQL Basics: Understanding DDL, DML, DQL, DCL, and TPL with Examples

MySQL Basics: Understanding DDL, DML, DQL, DCL, and TPL with Examples

Comments
5 min read
Stored Procedure in PL/SQL

Stored Procedure in PL/SQL

2
Comments
2 min read
Best PostgreSQL Queries/Functions for Daily Operations

Best PostgreSQL Queries/Functions for Daily Operations

2
Comments 2
4 min read
Java, perform COUNT on each group of a large csv file #eg33

Java, perform COUNT on each group of a large csv file #eg33

6
Comments
2 min read
Open sourcing our new Text-to-SQL LLM app starter template

Open sourcing our new Text-to-SQL LLM app starter template

1
Comments
6 min read
Discover the Power of SQL: Mastering the 'Biology Course Alumni Search' Project

Discover the Power of SQL: Mastering the 'Biology Course Alumni Search' Project

Comments
3 min read
How to Delete Duplicate Data from a MySQL Database

How to Delete Duplicate Data from a MySQL Database

Comments
4 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
Common Table Expression (CTE) in PLSQL | Part 1

Common Table Expression (CTE) in PLSQL | Part 1

4
Comments
6 min read
List of the best Google Dorks in 2024 for finding SQL injection vulnerabilities and other security issues:

List of the best Google Dorks in 2024 for finding SQL injection vulnerabilities and other security issues:

12
Comments
1 min read
Understanding and Configuring Oracle Access Control Lists (ACLs) for Email Sending Using UTL_MAIL

Understanding and Configuring Oracle Access Control Lists (ACLs) for Email Sending Using UTL_MAIL

18
Comments
7 min read
Insert data into tables - SQL

Insert data into tables - SQL

5
Comments
2 min read
RANK,ROW_NUMBER and DENSE_RANK

RANK,ROW_NUMBER and DENSE_RANK

2
Comments
2 min read
Aggregate Functions vs Window Functions in SQL

Aggregate Functions vs Window Functions in SQL

5
Comments
2 min read
SQLMap Cheat Sheet: A Quick Guide for Automated SQL Injection

SQLMap Cheat Sheet: A Quick Guide for Automated SQL Injection

7
Comments
3 min read
Boosting PostgreSQL Performance: Optimising Queries with the != Operator

Boosting PostgreSQL Performance: Optimising Queries with the != Operator

3
Comments
8 min read
How to create a table with SQL code?

How to create a table with SQL code?

3
Comments
6 min read
SQL, extract unique values of JSON format field from each group #eg42

SQL, extract unique values of JSON format field from each group #eg42

6
Comments
2 min read
How to Downsample Your Data Efficiently

How to Downsample Your Data Efficiently

Comments
2 min read
Scenario 1: When You Need to Update Multiple Rows with Different Values – The Smart Way!

Scenario 1: When You Need to Update Multiple Rows with Different Values – The Smart Way!

3
Comments 3
3 min read
Transaction Control Language TCL - COMMIT, ROLLBACK, and SAVEPOINT

Transaction Control Language TCL - COMMIT, ROLLBACK, and SAVEPOINT

4
Comments
3 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
CASE | DECODE | IF ELSE - Conditional Logic in PLSQL

CASE | DECODE | IF ELSE - Conditional Logic in PLSQL

1
Comments
2 min read
Turbocharge Your App: Slash DB Calls with Raw SQL Magic!

Turbocharge Your App: Slash DB Calls with Raw SQL Magic!

4
Comments
2 min read
How to send a message to Slack workspace members using an SQL statement

How to send a message to Slack workspace members using an SQL statement

Comments
2 min read
Logical Processing order of a SQL query

Logical Processing order of a SQL query

8
Comments 2
4 min read
Understanding Recursive Queries in PostgreSQL: A Process Hierarchy Example

Understanding Recursive Queries in PostgreSQL: A Process Hierarchy Example

Comments
3 min read
PL/SQL Cursors

PL/SQL Cursors

4
Comments 2
4 min read
DbVisualizer 24.2: A Complete Review

DbVisualizer 24.2: A Complete Review

10
Comments
11 min read
PL/SQL Triggers

PL/SQL Triggers

1
Comments
3 min read
Deleting Duplicate Data from MySQL

Deleting Duplicate Data from MySQL

1
Comments
3 min read
Different ways of working with SQL Databases in Go

Different ways of working with SQL Databases in Go

2
Comments
9 min read
PLSQL Top 10 Interview Questions

PLSQL Top 10 Interview Questions

1
Comments
4 min read
How I used ChatGPT o1 and Claude for generating a SQL RBAC report and was surprised by the results

How I used ChatGPT o1 and Claude for generating a SQL RBAC report and was surprised by the results

1
Comments
9 min read
loading...