Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8606417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:05:16+00:00 2026-06-12T03:05:16+00:00

I just want some advice, when creating a Question Table in the database, do

  • 0

I just want some advice, when creating a “Question” Table in the database, do I need store in the question number for each question or is this not needed as each question will have its own unique Id thanks to auto increment and that when students take the exam, the questions are going to appear in random order for each student so they can’t copy answers.

In other words should the Question table be like this (Example 1):

    QuestionId (int 11) auto increment PK  //unique identifier for each question
    QuestionNo (int 3) //the question number
    QuestionContent (varchar 800) //the question itself
AnswerId (int 11) //Foreign key to AnswerId in Answer Table

Or should it be like this (example 2):

    QuestionId (int 11) auto increment PK  //unique identifier for each question
    QuestionContent (varchar 800) //the question itself
AnswerId (int 11) //Foreign key to AnswerId in Answer Table
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:05:17+00:00Added an answer on June 12, 2026 at 3:05 am

    I think you answered your own question. The auto-increment PK field means that each question will have a unique ID number. The only reason you’d need to provide another question number field is if you need to be able to find questions according to some other numbering system that’s already determined, or if the question number has some other significance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just want some advice for this layout. I am not an experienced CSS
Help, I am a noob, just need some advice on this bit of code.
I'm just looking for some advice. I'm creating a website that offers (at least)
Need some Advice on how to reference elements with jQuery (DOM/Traversing/Selectors). Sometimes its just
Just want advice on how to think and do the following, I am creating
I need to open a .doc/.dot/.docx/.dotx (I'm not picky, I just want it to
Semantically, I want an itemized list, but visually I just want some space. How
I just want to add some extra text on top of input posted from
I just want to validate some data with nodejs & socket.io server-side. So I
Hiya I just want to do some windows script host scripts, and I know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.