User Profile

Collapse

Profile Sidebar

Collapse
solfer
solfer
Last Activity: Oct 4 '07, 10:30 AM
Joined: Oct 1 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • solfer
    replied to Table joins question
    Thanks again, I'll give that a try later. Much appreciated :)
    See more | Go to post

    Leave a comment:


  • solfer
    replied to Table joins question
    Don't apologise, I'm grateful for any replies on this!

    That query seems to output all manager_id's and then all oppo_id's on separate rows, rather than within the same results row (does that makes sense?)

    Sorry, this is all a bit new to me :(
    See more | Go to post

    Leave a comment:


  • solfer
    replied to Table joins question
    Would that not just output the numeric value of t1.oppo_id?

    I thought I'd need to add a second join if I want to be outputting the username for oppo_id from t2

    I can get my head around Ronald's solution for joining manager_id, but am totally lost trying to get a second join in there for oppo_id..!!!...
    See more | Go to post

    Leave a comment:


  • solfer
    replied to Table joins question
    Great, cheers Ronald :)

    That works for manager_id, but how do I extend that to also output oppo_id?...
    See more | Go to post

    Leave a comment:


  • solfer
    started a topic Table joins question

    Table joins question

    Hi,

    Struggling where to start with this, so any help is appreciated!

    I've two tables, which for simplicity sake look like:

    t1
    id
    manager_id
    oppo_id
    fixturedate

    t2
    id
    username

    The manager_id and oppo_id in t1 are the numeric values from t2.id

    How do I build my select statement to output table1 displaying the username values from t2 instead of the numeric ids?
    ...
    See more | Go to post
No activity results to display
Show More
Working...