Explain Codes LogoExplain Codes Logo

Sql

Use LIKE %..% with field values in MySQL

sql
text-search-operations
sql-joins
performance-optimisation

Group MySQL query by 15 min intervals

sql
unix-timestamp
mysql-performance

Alter DATABASE failed because a lock could not be placed on database

sql
database-administration
sql-server
lock-issues

Filter Table Before Applying Left Join

sql
subquery
ctes
index-optimization

What is a good reason to use SQL views?

sql
data-abstraction
database-management
sql-views

Find a string by searching all tables in SQL Server

sql
sql-injection
database-optimization
sql-server

Sql, Auxiliary table of numbers

sql
performance
best-practices
sql-server

Mysql: Select DISTINCT / UNIQUE, but return all columns?

sql
distinct
group-by
sql-performance

Are PostgreSQL column names case-sensitive?

sql
database-migration
sql-standards
best-practices

Mysql: GROUP_CONCAT with LEFT JOIN

sql
join
groupby
performance-tuning

Having issues with a MySQL Join that needs to meet multiple conditions

sql
join
best-practices
performance

How to do select from where x is equal to multiple values?

sql
subqueries
join
performance

Postgresql query between date ranges

sql
date-range
postgresql
database-optimization

Convert Rows to columns using 'Pivot' in SQL Server

sql
pivot-engineering
sql-string
dynamic-sql

Sql Server - transactions roll back on error?

sql
transactional-anomalies
error-handling
try-catch-block

Library of Useful (Difficult) SQL scripts

sql
data-integrity
performance-optimization
sql-scripts

Mysql: Typecasting NULL to 0

sql
database-optimizations
data-analytics
null-handling

Update MySQL with if condition

sql
conditional-updates
sql-queries
database-performance

How to COALESCE for empty strings and NULL values?

sql
sql-functions
performance-optimization
best-practices

Sql Joins Vs SQL Subqueries (Performance)?

sql
join
subquery
performance