pub fn extract_table_name(text: &str) -> String
Extract a single table name from the beginning of text. Handles double-quoted and backtick-quoted names. Stops at whitespace, ;, or end of string.
text
;