Sql conditionals: Revision history

From wikinotes

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 August 2022

  • curprev 13:5813:58, 3 August 2022Will talk contribs 202 bytes +202 Created page with "You can substitute values in your query with conditionals <syntaxhighlight lang="sql"> SELECT id, CASE WHEN name = "foo" THEN "Foo" ELSE "Bar" END capitalizedName, height # ... </syntaxhighlight>"