Capture.JPG

I am a newbie in developing games in flash. My problem is:

how can i use database in order to show random questions and random image choices (as seen in the image).

how can i link and import each flash questions and image into database. are there Any Sql server tutorials relating to flash. or should i use xml file?

Can i have some help with you guys?? should anyone have any idea about these...
i will greatly appreciate any suggestions, guys... THANKS!!