I have 2 tables with columns like this:
Table1
testID username topic information totalTime
Table2
questionID testID question choices answers
I would like to select all columns for a test with partiular testID from Table1 and #number of questions with same testID from Table2, so the resulting table should be like this:
testID username topic information totalTime questionCount
testID & questionID are primary keys.
How can I form this query? Thanks.
You can do it like this: