Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. TLDR -- simply your scenario and clarify your questions.
  2. SELECT tp.tutor_id FROM tutor_profile AS tp CROSS JOIN tutor_overall_level_subject AS tols1 (tols1.tutor_id = tp.tutor_id) CROSS JOIN tutor_overall_level_subject AS tols2 (tols2.tutor_id = tp.tutor_id) WHERE tols1.subject_level_id = 1 AND tols2.subject_level_id = 2
  3. No need to cram into one table.
  4. Post your actual raw SQL query
  5. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=325124.0
  6. <=> is null-safe.
  7. Better to JOIN once per answer you're looking for.
  8. Besides, you can't be certain you even want every word capitalize.
  9. I don't understand your question -- the only thing LOW_PRIORITY does is change read/write lock acquisition.
  10. Then you have a php syntax issue.
  11. Same question applies...
  12. Why not use EXISTS?
  13. Again, not enough information, sorry.
  14. Even 2 million isn't too many.
  15. Should be trivial to split yourself.
  16. You need to specify a table.... I don't follow.
  17. Use a cron job.
  18. You can't ever get 0 rows from that query.
  19. Show us your tables.
  20. Also, from now on, please continue your previous threads.
  21. Because then you'll get them as a collection.
  22. Huh?
  23. Failing how? Echo the actual 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.