how to use alias in sql
FROM [tblCustomer] AS [C], [tblOrder] AS [O] You could then use those table aliases in your SELECT clause, as follows: SELECT [C].[ID], [O].[ID] Note: When you use a table alias, you can refer to the table in your SQL statement by using the alias or by using the full table name.