pub fn table_name_from_factor( factor: &TableFactor, ) -> Result<Option<(String, Option<String>)>>
Extract table name and optional alias from a table factor.
Returns Err if the table name is schema-qualified.
Err