E
efandango
I have two queries, almost identical; except one is for scoring questions
answered correctly, and the other is for incorrect answers. The questions are
often repeated, which means the user can sometime get them right/wrong. I
want to have a real time scoring system where as the user begins to get
previously incorrect questions right, I want the 'running score' to reflect
his progress by subtracting from the 'wrong' query and adding to the
'correct' query. but the answers though in word form are the same, underlying
each answer is a unique ID. I just want the subtraction to occur one singular
instance each time.
my SQL query looks like this:
ELECT QX_Score_Points_split_Correct.*, QX_Score_Points_split_Wrong.*
FROM QX_Score_Points_split_Correct INNER JOIN QX_Score_Points_split_Wrong ON
QX_Score_Points_split_Correct.Run_point_Venue =
QX_Score_Points_split_Wrong.Run_point_Venue;
answered correctly, and the other is for incorrect answers. The questions are
often repeated, which means the user can sometime get them right/wrong. I
want to have a real time scoring system where as the user begins to get
previously incorrect questions right, I want the 'running score' to reflect
his progress by subtracting from the 'wrong' query and adding to the
'correct' query. but the answers though in word form are the same, underlying
each answer is a unique ID. I just want the subtraction to occur one singular
instance each time.
my SQL query looks like this:
ELECT QX_Score_Points_split_Correct.*, QX_Score_Points_split_Wrong.*
FROM QX_Score_Points_split_Correct INNER JOIN QX_Score_Points_split_Wrong ON
QX_Score_Points_split_Correct.Run_point_Venue =
QX_Score_Points_split_Wrong.Run_point_Venue;