I am creating a quiz maker in my web application. The database consists of the following tables:
- QUIZ Table: QuizID, Title, Description
- UserQuiz Table: UserQuizID, QuizID, DateTimeComplete, Score, Username
Now, I want to develop a chart the shows the title of quiz with the number of users who took each one of these quizzes, but I don't know how. I am trying to get a good query for this but I don't know how.
I am using SqlDataSource for accessing the data in the database.
Please help me.
In SQL this would be something like
or without the table aliases
QandUQthis would beusing the full table names to distinguish between the two columns called QuizID.