categories in questions algorithm
<p><b>Situation</b><br>
I'm a learner and im building a webapp in which people can login and ask/answer questions, sort of like quora.
<br><br><b>Problem</b><br>
I want the questions to be asked in perticular categories like..funny,tech,news,etc. and each questions can have multiple categories. So Im having a difficulty to desing a database based on this.
<br><br><b>Possible Solution</b><br>
My each question will have a questionid, unique and i can have a whole another table just for categories -> (questionid,category) which may have multiple entries per questionid. But is there any better solution?</p>