G
Guest
I was helped me out about a month ago with this access issue giving me the
ability to compare years. This is the information you gave me
SELECT a.*, b.*
from ((Select CUST from [Sales by Component 2003]
union
select CUST from [Sales by component 2004]) as x
left join [Sales by Component 2003] as a on a.CUST = x.CUST)
left join [Sales by Component 2004] as b on b.CUST= x.CUST;
My question is can I use anything besides alpha letters so my column names
would be say 2003.cust ( in the example above). I am working on another query
where I have a count, receivers, and usage of boxes we have. I would like the
column name to be Receiver.Boxes but I can’t figure out hot to replace it in
the query without getting an error.
ability to compare years. This is the information you gave me
SELECT a.*, b.*
from ((Select CUST from [Sales by Component 2003]
union
select CUST from [Sales by component 2004]) as x
left join [Sales by Component 2003] as a on a.CUST = x.CUST)
left join [Sales by Component 2004] as b on b.CUST= x.CUST;
My question is can I use anything besides alpha letters so my column names
would be say 2003.cust ( in the example above). I am working on another query
where I have a count, receivers, and usage of boxes we have. I would like the
column name to be Receiver.Boxes but I can’t figure out hot to replace it in
the query without getting an error.