Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. FYI, this isn't as effecient as using a dervied table with this information, since it doesn't depend on the player_score value (so a subquery is expensive for no reason).
  2. Funny, doesn't sound like MySQL...
  3. You'll need to have a serve script that print the appropriate headers... but this isn't a mysql question.
  4. Hidden fields are totally useless for security.
  5. MySQL has a STR_TO_DATE() function too...
  6. And you're confident it's the mysql connection, not the connection itself?
  7. I feel like a broken record... there's a sticky on the Installation child board -- read it and see if that leads you in the right direction.
  8. There's a sticky in the Installation child board that you should read.
  9. Root is the default... you have to make some users.
  10. Then you have some reading to do...
  11. Sort of... there's meta information about the tables that can be queried...
  12. First, you can extract each piece of the date using mysql functions, but I don't see really why you're doing this....
  13. If find it hard to believe that it's the connection as opposed to a query....
  14. I'd recommend this instead: SELECT p.purchaseID, p.productID, u.userName FROM products.productInformation p JOIN user.users u ON p.userID = u.userID ORDER BY u.userName But it should have worked syntactically both ways.
  15. And then you don't need to LOCK/UNLOCK the tables.
  16. Have you ever worked with JOINs before?
  17. Normalized, faster, better, logical, etc.
  18. That would be my suggestion.
  19. If you really want to be fancy, you can issue an alter table statement and sort the whole table,then the rows will be retrieved the way you want them. Really? It doesn't "know" how you want your results, YOU told it to be ordered a certain way. If it can figure out a fast way to do it, it will -- otherwise it will take more work. Try and get a card dealer to deal from the bottom of the deck instead, see if it takes any longer.
  20. ORDER BY rating DESC LIMIT 5.
  21. What?
  22. Yes, and a JOIN would be better.
  23. But which machine will you store the images on if it's not in the db?
  24. Correct how?
  25. Web server do a lot of disk I/O, not a lot of number crunching data set manipulation.
×
×
  • 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.