msi: Add support for table names in select statements.