FIND YOUR NEXT FEW LINES

Results for “ROW_NUMBER”

Small, practical examples. Search by task or narrow things down below.

1221 snippets foundClear filters
RustGetting Started

Grow a vector

Grow a vector in a complete Rust program using the standard library.

Rust✓ Tested
CDynamic memory & ownership

Grow an allocation without losing it on failure

C: Assign realloc to a temporary pointer so the original allocation remains available if growth fails.

C✓ Tested
SQLChange & combine data

Insert a row with named columns

Add a record without relying on implicit column order.

INSERT✓ Tested
PostgresRows & writes

Inspect deleted rows

Return values from the rows a DELETE removes.

DELETE✓ Tested
SQLGetting Started

Join related rows from two tables

SQL: Match a category key to its display label with an explicit join condition.

SQL✓ Tested
SQL ServerGetting Started

Join related rows from two tables

SQL Server: Match a category key to its display label with an explicit join condition.

SQL Server✓ Tested
PostgresGetting Started

Join related rows from two tables

Postgres: Match a category key to its display label with an explicit join condition.

Postgres✓ Tested
SQLiteGetting Started

Join related rows from two tables

SQLite: Match a category key to its display label with an explicit join condition.

SQLite✓ Tested
SQL ServerDates & text

Join rows in a chosen order

Aggregate text with STRING_AGG and WITHIN GROUP.

STRING_AGG✓ Tested
PostgresWindows & text

Join text rows in a chosen order

Combine values using string_agg.

string_agg✓ Tested
SQLRelationships & missing data

Keep parent rows while filtering joined children

SQL: Put a child filter in ON when unmatched parents must remain in the result.

SQL✓ Tested
SQL ServerRelationships & missing data

Keep parent rows while filtering joined children

SQL Server: Put a child filter in ON when unmatched parents must remain in the result.

SQL Server✓ Tested