The SQL SELECT
statement is possibly the most commonly used SQL statement. It’s often used to return data from a database, but it can also be used to call functions that return data. The SELECT
statement can also be used to return static values, such as string literals.
But the SELECT
statement isn’t the only way we can return data in SQL. Another way to return values is with the VALUES
statement.