Explain Codes LogoExplain Codes Logo

Sql

How do you manually execute SQL commands in Ruby On Rails using NuoDB

sql
sql-execution
rails-activerecord
database-connections

How to use a LIKE with a JOIN in SQL?

sql
join
performance
best-practices

Update records in table from CTE

sql
cte
sql-update
join

Sql query to find record with ID not in another table

sql
join
performance
best-practices

Mysql's now() +1 day

sql
date-arithmetic
mysql-functions
sql-best-practices

Fastest check if row exists in PostgreSQL

sql
indexing
transaction-control
performance-optimization

How do I obtain raw SQL from a query builder?

sql
logging
debugging
performance

Add a summary row with totals

sql
prompt-engineering
best-practices
grouping-sets

Mysql pivot row into dynamic number of columns

sql
dynamic-pivot
sql-injection
prepared-statements

Questions every good Database/SQL developer should be able to answer

sql
join
data-types
indexing

Store select query's output in one array in postgres

sql
array-constructor
query-results
database-optimization

Mysql syntax for Join Update

sql
join
transactions
best-practices

What is the meaning of the prefix N in T-SQL statements and when should I use it?

sql
unicode-data
t-sql-best-practices
data-safeguard

Sql WHERE condition is not equal to?

sql
best-practices
performance
join

Datetime group by date and hour

sql
datetime
grouping
database

Adding named foreign key constraints in a SQL Create statement

sql
data-integrity
schema-evolution
foreign-key-constraints

Select info from table where row has max date

sql
window-functions
sql-performance
best-practices

How to order by with union in SQL?

sql
join
best-practices
union

'like ('%this%' OR '%that%') and something=else' not working

sql
pattern-matching
sql-queries
best-practices

Show the current username in MySQL?

sql
database-connection
mysql-queries
security-best-practices