Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Then you'll need to order this in script with a regex to extract the pieces.
  2. You need to write a query, separately that return the max value for a given value, and then you can easily join that in, and then easily use 1000 or the other value.
  3. Then your PHP headers aren't correct.
  4. You can UNION the table if you use NULLs wherever the gaps are.
  5. Your full-text index must match your MATCH..AGAINST exactly.
  6. Sorry, I don't follow.
  7. Why not order the results in mysql?
  8. You'll need to convert those strings into accent-free values when you search -- mysql only provides case-insenstivity.
  9. fenway

    Avg of date

    Either 51 or 50? What does that mean?
  10. Why not filter on date?
  11. You'll have to do this mostly in php -- first select the tickers, then go back and craft a fancy sql statement.
  12. Use code tags next time.
  13. And why didn't HAVING work?
  14. This topic has been moved to PHP Freelancing. http://www.phpfreaks.com/forums/index.php?topic=328526.0
  15. Then please post the solution.
  16. I'm trying to understand why you can't simply use a derived table, get the max for each possible item, and then restrict by your desired date range.
  17. I'm sorry -- do you want one row or two?
  18. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=328388.0
  19. Show us the table definitions.... quotes shouldn't matter.
  20. Update_time isn't robust -- doesn't work on all platforms.
  21. I prefer the simpler "yourField + INTERVAL N DAY".
  22. I don't see a mysql question here -- next time, use code tags.
  23. If you want to pay, donate to the forums.
  24. Just be careful, it works differently based on where it appears in the statement.
  25. Yeah, but you can't use *.
×
×
  • 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.