Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Use CASE.
  2. Too complicated -- prove that getting the AVG as a subquery works first.
  3. That's a known issue with excel. As I mentioned earlier, just clean it up with a regex.
  4. You can extract that portion from your field -- of course, that won't use an index.
  5. Everything is "doable". But what's the difference between 1 and +1?
  6. No inconvenience -- I just have no idea what you're referring to.
  7. You're going to have to figure out how to explain the actual problem, or I won't be able to suggest anything.
  8. Sorry, I don't follow.
  9. I don't follow -- you want to ensure that all 3 conditions are met?
  10. 1 & 2 have to do with sql injection -- it's a good idea to quote literals regardless. 3/4/5 are php variable iterpolation issues.
  11. No -- you should know what table you have. If not (!), use SHOW TABLES and keep track.
  12. Sounds like you need to get your hands on a good tutorial.
  13. What produced that CSV file? it looks like your double-quotes are being escaped by double-quotes -- easy enough to fix with a good text editor.
  14. I don't understand the question.
  15. I don't follow.
  16. Sorry, I don't follow.
  17. Or you could just derive a view on-the-fly -- or similar solution.
  18. Well, I still don't see why a simple scalar subquery won't work.
  19. Actually, there's a sticky somewhere -- maybe in the child board.
  20. Then you must be using the wrong password.
  21. Well, you can still use the alias "avgscore" in the HAVING clause -- but actually, I didn't realize that score was a real column. Re-reading your original post, why not simply use a column subquery to grab the AVG()?
×
×
  • 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.