FIND YOUR NEXT FEW LINES

Results for “generated column”

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

527 snippets foundClear filters
SQL ServerGetting Started

Read named columns from a table

SQL Server: Choose the columns needed and request a deterministic row order.

SQL Server✓ Tested
PostgresGetting Started

Read named columns from a table

Postgres: Choose the columns needed and request a deterministic row order.

Postgres✓ Tested
SQLiteGetting Started

Read named columns from a table

SQLite: Choose the columns needed and request a deterministic row order.

SQLite✓ Tested
SQLConstraints & defaults

Reference a parent identified by two columns

SQL: A composite foreign key checks the complete referenced key rather than either column independently.

SQL✓ Tested
SQL ServerConstraints & defaults

Reference a parent identified by two columns

SQL Server: A composite foreign key checks the complete referenced key rather than either column independently.

SQL Server✓ Tested
PostgresConstraints & defaults

Reference a parent identified by two columns

Postgres: A composite foreign key checks the complete referenced key rather than either column independently.

Postgres✓ Tested
SQLiteConstraints & defaults

Reference a parent identified by two columns

SQLite: A composite foreign key checks the complete referenced key rather than either column independently.

SQLite✓ Tested
SQLSelect & filter

Select specific columns

Read only the fields a result needs.

SELECT✓ Tested
HTMLTables & list numbering

Set consistent widths for table columns

HTML: A colgroup applies presentation to whole columns without repeating styles on every cell.

HTML✓ Tested
CSSGrid placement

Span a grid item across multiple columns

CSS: Grid-column span counts tracks and includes the gaps between them.

CSS✓ Tested
HTMLTables & list numbering

Span one header across several columns

HTML: Colspan lets a heading cover a defined number of columns in the table grid.

HTML✓ Tested
CSSResponsive design

Stack columns on small screens

Change a two-column CSS grid to one column at a viewport breakpoint.

CSS✓ Tested