In this part of the SQLite tutorial, we will cover SQLite expressions.An expression in a programming language is a combination of values, variables, operators, andfunctions that are interpreted (evaluated) according to the particular rules of precedence and of association for a particular programming language, which computes and then produces (returns, in astateful environment) another value. The expression is said to evaluate to that value. (wikipedia)
A literal value is a constant of some kind. Literal values may be integers, floating point numbers,strings, BLOBs, or NULLs.
sqlite> SELECT 3, 'Wolf', 34.5;3|Wolf|34.5
Here we return three literals. Namely integer, string and floating point constants.
sqlite> .nullvalue NULLsqlite> SELECT NULL;NULL
command tells the SQLite to show
. SQLite shows empty stringsfor
values by default.
value is a literal too.
sqlite> SELECT x'345eda2348587aeb';