Merging multiple query results into one row

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I currently have a database set up showing companies and the departments I
deal with. I want to write a query that will return one record showing all
departments for that company rather than what I'm currently getting which is
a record per company per department.
 
Hi

Are your departments stored in a table with a field that corresponds to the
company (joined) or do you one table listing both the department and company.

Can you send a little more information regarding the table setup
 
I currently have a database set up showing companies and the departments I
deal with. I want to write a query that will return one record showing all
departments for that company rather than what I'm currently getting which is
a record per company per department.

Care to describe your table structure? The answer should be
straightforward, but only if we know what you're starting with.

John W. Vinson[MVP]
 
There are seperate tables for company and department that are joined through
a third table.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top