Mysql – FROM clause necessary in every SELECT statement

mysqlsql

is the FROM clause necessary in every SELECT statement?Thanks..

Best Solution

Not really - you can use SELECT to initialize a variable.

Examples from here:

mysql> SELECT 1 + 1; -> 2