space1 Posted May 26, 2003 Share Posted May 26, 2003 Any idea why this statement doesn\'t work? I can\'t figure out what\'s wrong. Thanks!! SELECT tResponses.EventID, tResponses.MemberID, tUsers.Username FROM tResponses, tUsers WHERE tResponses.Rsvp=\'Y\' AND tResponses.EventID = \'17\' AND tResponses.MemberID = tUsers.MemberID Quote Link to comment https://forums.phpfreaks.com/topic/508-select-statement-whats-wrong/ Share on other sites More sharing options...
pallevillesen Posted May 26, 2003 Share Posted May 26, 2003 SELECT R.EventID, R.MemberID, U.Username FROM tResponses R, tUsers U WHERE R.MemberID = U.MemberID AND R.Rsvp=\'Y\' AND R.EventID = \'17\' ; If your coloumn names are correct, it should work... It\'s just a straight join. P. Quote Link to comment https://forums.phpfreaks.com/topic/508-select-statement-whats-wrong/#findComment-1694 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.