How do I create an database to store Question and answers

I am trying to integrate a database into my game .
so that i can randomly select questions from a database and display them in the game .
I have no idea how to do this .

the best lead I found was from 2008.

I previously hardcoded 100 questions and s=answers in my game but this is inefficient as I will need to replace the questions and answers .

If not with a database , how else can I store questions ans=d answers without having to hardcode it ?
does anyone have any ideas ?