The following query returns only those rows from table mytable where the value in column mycol is greater than 100.
The From clause is technically required in relational algebra and in most scenarios to be useful. However many relational DBMS implementations may not require it for selecting a single value, or single row - known as DUAL table in Oracle database.4
Other systems will require a From statement with a keyword, even to select system data.5
"From clause in Transact SQL". https://docs.microsoft.com/de-de/sql/t-sql/queries/from-transact-sql?view=sql-server-2017 ↩
"Reserved Words in SQL". https://www.drupal.org/docs/develop/coding-standards/list-of-sql-reserved-words ↩
"System Information Schema Views (Transact-SQL)". https://docs.microsoft.com/en-us/sql/relational-databases/system-information-schema-views/system-information-schema-views-transact-sql?view=sql-server-2017 ↩
"Selecting from the DUAL Table". https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries009.htm ↩
"Oracle Dates and Times". http://infolab.stanford.edu/~ullman/fcdb/oracle/or-time.html ↩