Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: May 2009
Posts: 2
Reputation: Audux is an unknown quantity at this point 
Solved Threads: 0
Audux Audux is offline Offline
Newbie Poster

Combining Tables

 
0
  #1
May 25th, 2009
Hi,

I've been asked to create a proof of concept for a new database tool we need to develop, combining various existing databases.

It’s been awhile since I’ve touched any database work and I’m a little unsure how to go about it.

Let me explain the problem...the analogy I’m using here isn’t perfect but it fits to a degree.

We have two existing tables that must be combined. we have employees and their assigned projects (many to many)

And we have another table with projects and the tasks that decompose then (many to many once more)

Is it possible to create a query that joins the two tables on project?

So that we basically end up with a table with employees | project | task
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 305
Reputation: timothybard is an unknown quantity at this point 
Solved Threads: 25
timothybard's Avatar
timothybard timothybard is offline Offline
Posting Whiz

Re: Combining Tables

 
0
  #2
May 28th, 2009
Yes, you can build a query like that. All you need to do is join the query on the project attribute. Have you tried to do this? Are you running into a problem?
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 2
Reputation: Audux is an unknown quantity at this point 
Solved Threads: 0
Audux Audux is offline Offline
Newbie Poster

Re: Combining Tables

 
0
  #3
May 28th, 2009
Originally Posted by timothybard View Post
Yes, you can build a query like that. All you need to do is join the query on the project attribute. Have you tried to do this? Are you running into a problem?
thanks for the reply, i had tried it and did run into issues, nothing i tried was returning any rows at all. of course doubting my own database skills i though i was doing something horribly wrong!

turns out the contents of project was spelt ever so slightly differently in each table. stupid mistake.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the MS Access and FileMaker Pro Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC