Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. What's not workign?
  2. Not easily -- that's why comma-separated lists are a bad idea.
  3. Those look like custom functions -- are you sure they are present in your database?
  4. Sorry, what's the outstanding issue?
  5. Besides, exact values for pagination is just slow -- Google doesn't do it, either.
  6. This has nothing to do with mysql.
  7. The delimited list is only appropriate for summary tables.
  8. Don't use these values as counters -- that's just wrong. Nothing will work properly if you reset them. Trust me.
  9. MySQL will return the rows that match ANY of those values. Why do you want it 3 times?
  10. Cleanest, yes; fastest, no. The most efficient way to is to self-join N times -- as long as N is small.
  11. In general, use case-insensitive collations -- no performance hit.
  12. Echo the query.
  13. Drop the joins, get the desired grouped result first, then join.
  14. Good -- now post the output you get from each one, and what you want instead.
  15. Store this as min/max values, with a text label.
  16. That's because you can't mix JOINs and GROUP BY that way -- and you can't rely on any non-aggregated columns, either.
  17. Yup, this is caching -- no reason to post the script in the mysql forum.
  18. Don't mark your posts with "urgent" -- it's against the ToS. And besides, I don't see a question.
  19. The table prefixes are not included -- use an explicit column alias.
  20. Don't build the query, build the clauses -- push onto an array, join at the end.
  21. If you really wanted, you could look up the index column in mysql's table, but it seems like a bother.
  22. Don't generate users or view on-the-fly -- that's not a good approach.
  23. You don't get a choice -- specify them -- typing is easy.
  24. I'm not sure what you want us to do with that statement.
×
×
  • 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.