0

I am trying to create an examination system, wherein i have databank in mysql. I would like to randomly select questions that will be display in the textbox.

  • Possible duplicate of [How to request a random row in SQL?](http://stackoverflow.com/questions/19412/how-to-request-a-random-row-in-sql) – Nhan Aug 07 '16 at 14:44

1 Answers1

1

You can obtain a random row this way

SELECT * FROM Your_table ORDER BY RAND() LIMIT 1
ScaisEdge
  • 131,976
  • 10
  • 91
  • 107