title: Select records at random using extbase's QueryBuilder
body: <p>I’m working on a bespoke extension in TYPO3 version 8.</p>
  
  <p>In my extension I want to display three items in the front end in a random order out of a result set of at least ten or so.</p>
  
  <p>As an example
  (Select only three people at random and pass them to a view )</p>
  
  <p>My first though was to look at the QueryBuilder and create a custom query. Looking at other similar posts it would seem that extbase’s query builder doesn’t carry a RAND function (with good reason).</p>
  
  <p>Would it be better to look at using Fluid and the iterator viewhelper to help me show items in a random order? Or can it be achieved using the QueryBuilder?</p>