Language features

The pages of this section describe how PRQL handles various aspects of the language.

FeaturePurpose
CoalesceHandle potentially NULL values
Dates & timesHandle dates and times
DistinctEquivalent of SQL DISTINCT
Null handlingHandle NULL values
RangesSyntax for all forms of ranges
RegexHandle regular expressions
StringsRules for creating strings
S-stringsInsert SQL directly into a query with an S-string
F-stringsCombine several column’s data with F-strings
CaseCreate a new column based on the contents of other columns
Target & VersionSpecify a target SQL engine and PRQL version