Database and website

I am basically creating a simple quiz website, I will store questions and answers in a database. I understand how to create a database as I know SQL though never used it with a website before. Should I create the database through mySQL and then how would I connect to it through my website?

Also as soon as a page is loaded I want a question to be loaded from the database, can I do this?

you will need an application language such as php

I’m hoping to use python instead, do you know of any resources or tutorials which can aid me?

sorry, no

tried google?