title: Better site performance: multiple simple mySQL queries or one complex mySQL query later manipulated in PHP?
body: <p>I am new to web development and am used to extensive use of various data structures in getting things done. I've also heard that having lots of queries is worse than few queries (but that complex queries can be even slower).</p>
  
  <p>I'm wondering whether lots of simple queries would perform better or worse than one complex query that is later processed extensively using PHP.</p>