FROM

Data source for SELECT. The argument can accept the table name, the result of another SELECT, or a named expression. Between SELECT and FROM, list the comma-separated column names from the source (or * to select all columns).

Examples

SELECT key FROM my_table;
SELECT * FROM
  (SELECT value FROM my_table);
$table_name = "my_table";
SELECT * FROM $table_name;