Hello, I'm wondering if you can advise me on how to accomplish this ms access SQL query.
The data is from a simple memory task where people sit in front of the computer and see a string of letters flashed in front of them (i.e. VCBDLIWE) briefly, then they are shown one letter (i.e. I) and they need to press 1 if they think that letter was in the original string, and 2 if they don't think it was. I have the data in an access table but I can't figure out how to score it. Here's how the table is set up
ID Trial EventType Code
1 1 Picture VCBDLIWE ---> the string
2 1 Picture 8_delay
3 2 Picture I ----> the letter
4 2 Response 1 ----> their response
5 3 Picture RAMEUHTZ
6 3 Picture 8_delay
7 4 Picture N
8 4 Response 1 --> they got it wrong
etc
There's one more field (TTime) with the time it took to hit the button (reaction time) that I want to keep in there, but basically I need a query to just select out all the ones who got it right, and tell me how long it took them to hit the button (TTime).
Where I'm running into problems is that the string, the letter, and the response is all in the same field (Code).
Is there a semi-simple SQL statement where I could SELECT * FROM CODE where they got it right?
Thank you!
The data is from a simple memory task where people sit in front of the computer and see a string of letters flashed in front of them (i.e. VCBDLIWE) briefly, then they are shown one letter (i.e. I) and they need to press 1 if they think that letter was in the original string, and 2 if they don't think it was. I have the data in an access table but I can't figure out how to score it. Here's how the table is set up
ID Trial EventType Code
1 1 Picture VCBDLIWE ---> the string
2 1 Picture 8_delay
3 2 Picture I ----> the letter
4 2 Response 1 ----> their response
5 3 Picture RAMEUHTZ
6 3 Picture 8_delay
7 4 Picture N
8 4 Response 1 --> they got it wrong
etc
There's one more field (TTime) with the time it took to hit the button (reaction time) that I want to keep in there, but basically I need a query to just select out all the ones who got it right, and tell me how long it took them to hit the button (TTime).
Where I'm running into problems is that the string, the letter, and the response is all in the same field (Code).
Is there a semi-simple SQL statement where I could SELECT * FROM CODE where they got it right?
Thank you!