Jump to content

gassaz

Members
  • Posts

    61
  • Joined

  • Last visited

    Never

Posts posted by gassaz

  1. I think the problem is because you don't select te option "INCLUDE PATH....." in the config wizard.

     

    if you like to put the my.ini on mysql directory

     

    Solution 1:

    Add the path manually (google: winxp path)

     

    Solution 2:

    Run again the config wizard, but if you have data make a backup firts; and select the option to include the path.

  2.  

    For example if my tables looked like this

    Blogtitle

    A

    B

    C

    C

     

    Blog

    A

    B

    C

    D

     

    The output would be:

    A  -  1 match(‘s)

    B  -  1 match(‘s)

    C  -  2 match(‘s)

    D  -  0 match(‘s)

     

     

    If you want the results on this way, the sql that you made is wrong. You got the idea..

     

    Try this:

     

    
    SELECT blog.title, COUNT(blogcomments.blogtitle)
    FROM blog INNER JOIN blogcomments ON (blog.title=blogcomments.blogtitle)
    GROUP BY blogcomments.blogtitle
    
    

×
×
  • 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.