in reply to Can this be done entirely in MySQL?

Try the UNION keyword in SQL.
  • Comment on Re: Can this be done entirely in MySQL?