Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. If you alias that expression, you should be able to use it in the ORDER BY.
  2. Well, you'd have to log the actual query you're running to verify this strange fact -- though you can cheat and output UIDs and see if it's true.
  3. Ugh... evil. Why not use a proper many-to-many table?
  4. Sorry, I don't follow random links... maybe someone else will be brave.
  5. Then use STR_TO_DATE() to fix that up first.
  6. A LEFT JOIN .. is NULL should suffice.
  7. Sorry, I don't follow -- what's the difference?
  8. Why not add this to a WHERE clause?
  9. Who said anything about easy? ... and how can a simple question be "hostile"? And yes, yes, I did think I was helping; and since you won't clearly can't find it yourself, Here you go. And try using "ldd" to see exactly where it's trying to find it -- likely a busted symlink.
  10. Why can't you just UNION all of the tables?
  11. Did you read the sticky on the child board?
  12. I see no reference to "topic_id" anywhere.
  13. I'm not sure I follow.
  14. Does it work or not?
  15. As soon as you mentioned "explode" and "while loops", I knew you were in trouble. You'd have to handle this all in sql -- and you don't have to do it in real-time.
  16. Maybe you're referring to this?
  17. Unfortunately, you still can't use an expression in the limit clause...
  18. I don't see a query anywhere.
  19. No, I don't follow whatsovever.
  20. What do you have so far? EXISTS is an option as well.
  21. Hard to say, having seen none of the actual input.
  22. Like so: select substring_index( trim( "www.mysite.com?id=" from "www.mysite.com?id=33&name=Brenda" ), '&', 1 )
  23. Why do you have duplicate usernames?
  24. You need a sortorder column -- nothing more.
  25. First, make sure the inner tables (before the union) execute as you expect. Second, consider summarizing this data, instead of pulling it in real-time.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.