quiz_questions table

The quiz_questions table in the Learning Management System Database Schema schema has 7 columns, keyed by id, with 1 foreign key to quizzes. 2 columns in question_options and quiz_answers reference it.

Columns (7)

Columns of the quiz_questions table
ColumnTypeConstraintsDescription
iduuidprimary key
quiz_iduuidnot null, references quizzes.id
typequestion_typenot null
prompttextnot null
pointsdecimal(6,2)not null
explanationtext
positionsmallintnot null

Indexes (1)

  • (quiz_id, position) unique

Relationships