Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Well, since this is for a class, I presume you know some basic sql...
  2. Sure you can... use LEFT JOIN.
  3. You can use a LEFT JOIN or an EXISTS query.
  4. VARCHAR goes up to 65K.
  5. You can use LEFT()...
  6. They're null because there is not matching event_id in this table... that's what you asked it to do.
  7. Your real problem is that you're storing a list. Change your DB structure... but for now, use FIND_IN_SET, not a REGEXP.
  8. You can store any character in mysql, as long as it is escaped properly.l
  9. I'm not sure I understand.
  10. fenway

    Scaling

    Impossible to guess based on info provided... but yes.
  11. If you're using MYSQL5, stick with VARCHAR, not TEXT.
  12. There are a variety of ways to store hierarchical dat.
  13. In fact, you're not even using a password.
  14. You can use CASE in your ORDER BY clause.
  15. What do you have so far?
  16. Why is your data stored this way anyway? And yes, you'll need to concat() those.
  17. You'll need GROUP_CONCAT() in MySQL.
  18. fenway

    RAM For mysql

    InnoDB has the potential to grow large with its namespaces, so it really depends how much data is there.
  19. How does the FS impact the DB?
  20. Have you read the stickies on this board yet?
  21. I don't understand how you want them ordered... please clarify.
  22. You can also use SQL_CALC_FOUND_ROWS().....
  23. Then I don't know how to help... sorry.
×
×
  • 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.