Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Mar 31st, 2013  |  syntax: MySQL  |  size: 0.17 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. select, u.status from
  2. (select, h.status from have h union all select, a.status from addon a) u
  3. group by,u.status having COUNT(*) < 2
clone this paste RAW Paste Data