Infer table name when SELECT * and one table in the FROM clause