Our company has various accounts for our customers. We have to run a process where we must pull all of these accounts into a single table and perform the calculations we need. For example one table has a customer account 1, customer account 2, and customer account 3. We must pull all of these various accounts and append them to one account in a table we made. As the system exists currently, this process is done in 3 seperate queries. I have to go in and make the system run smoother and I was wondering if there was any way to do this in one SQL statement. I tried compacting the query but I cannot get it to work without the AND statement, which only ends up pulling all of the accounts that are found in all of the records. Is it possible to accomplish what I want?