Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2002
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SQL query not working and I'm not sure why

    It seems to be something to do with the inner join statements. If I just have one statement in the query it works, but with more than one it doesn't

    Code:
    select 
    thesisEX13Recd,
    thesisExamPanelAppointed,
    thesisVivaDate,
    tblThesis.thesisCatering,
    tblThesis.thesisBerrill,
    tblThesis.examResultID
    from tblThesis
    inner join tblCatering on tblCatering.cateringID = tblThesis.thesisCatering
    inner join tblEmailBerrill on tblEmailBerrill.emailBerrillID = tblThesis.thesisBerrill
    inner join tblExamResult on tblExamResult.examResultID = tblThesis.examResultID
    where thesisID = #session.thesis.thesisID#

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    UK
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What error message are you getting? Query looks ok to me


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •