Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. There's no "other trip"... same query.
  2. LAST_INSERT_ID().... and php mysqli library has a function for this too.
  3. The LEFT JOIN vs INNER JOIN is going to be signficiant here.
  4. I can't see this ending well.
  5. I think I must have brain fade as I cannot see how at the moment and I would prefer to avoid using HAVING. All the best Keith No, my turn for brain fade.... I didn't read the OP's question closely enough.
  6. "table upgrade required" is rarely from corruption.
  7. Not really the wrong place... though at some level it might be considered app design, depending on whom you ask.
  8. Make sure your expression for substring_idnex() actually returns what you expect.
  9. I don't follow.
  10. So, where do we stand?
  11. What's wrong with it now
  12. Why? It's a joke in mysql -- NOW() + INTERVAL 24 HOUR.
  13. Please tell us that you have managed to come up with a bit more detail.
  14. You have e-mail in single quotes, not backticks.
  15. So, solved?
  16. I'm just suggesting that at the row level you need to have some record say "user X is friends with user Y".
  17. Upgrade???? What changed?
  18. More likely it's better to either (a) have a single row per language or (b) have a single table per language.
  19. Even better would be (a) not to use plaintext passcodes and (b) not the pass them at all to the query.
  20. Yikes... where's the join condition.
  21. Agreed... it's just more overhead for no reason.
  22. Normal forms are evil and complicated to explain. If any information is duplicated across rows or columns, then it's not normal enough -- start with that.
  23. You need to get the first round of averages, place those in a derived table, then average again.
  24. You can do something similar with MAX() without incurring any HAVING performance penalties.
  25. Um, where's the connection?
×
×
  • 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.