FROM
is an SQL reserved word in the SQL standard.
The FROM
clause is used in conjunction with SQL statements, and takes the following general form:
''SQL-DML-Statement''
FROM ''table_name''
WHERE ''predicate''
The From clause can generally be anything that returns a rowset, a table, view, function, or system-provided information like the Information Schema, which is typically running proprietary commands and returning the information in a table form.
Examples
The following query returns only those rows from table ''mytable'' where the value in column ''mycol'' is greater than 100.Requirement
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.References
{{DEFAULTSORT:From (Sql) SQL keywords Articles with example SQL code