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 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. Link to comment https://forums.phpfreaks.com/topic/508-select-statement-whats-wrong/#findComment-1694 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.