string literal

A fixed text value written directly in a query between single quotes, such as 'Lagos'.

In more detail

Standard SQL uses single quotes for text and double quotes for names of tables and columns. Values that come from users should never be pasted into the query text; pass them as bound parameters instead.

Example

WHERE country = 'NG'

Related terms

Taught in

References