MySQl 5.0 Query or Stored Proc help

Discussion in 'MySQL' started by molsen77, Sep 18, 2006.

  1. #1
    I am using MySQl 5.0 and am new to anything more than a simple query. I was wondering if might get some help creating a query or stored procedure that would take the following data where col1 in each table was the key and produce the results posted below the table data. Any help or ideas would be greatly appreciated.

    example @ http://www.fsbe.com

    Thanks,

    Mark
     
    molsen77, Sep 18, 2006 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    looks like it's just a select 2 columns, left outer join.

    select ta.col1, ta.col2, tb.col1, tb.col2, etc...
    from ta
    left outer join tb on ta.col1 = tb.col1
    left outer join....
     
    ccoonen, Sep 28, 2006 IP
  3. molsen77

    molsen77 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks! I'll give it a shot.
     
    molsen77, Sep 29, 2006 IP