GROUP_CONCAT bug?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • peter stickney

    #1

    GROUP_CONCAT bug?

    I am using the GROUP_CONCAT() as follows:

    SELECT (SELECT CONCAT(ProjectN ame) FROM Project WHERE
    FIND_IN_SET(Pro jectID, RelatedProjectI D))AS RelatedProject

    We have a project tracker system and we can have one project be
    related to several different projects. the issue is when there is
    only 1 related project associated with another project, this query
    does not work. Is there some sort of bug with GROUP_CONCAT?
  • Peter

    #2
    Re: GROUP_CONCAT bug?

    I do not see the group_concat function used in your example.
    I did not see either "GROUP BY" Remember GROUP_CONCAT must be accompanied
    by GROUP BY

    Hernando
    "peter stickney" <peter@petersti ckney.com> wrote in message
    news:fc429f7d.0 408180757.45dc3 ade@posting.goo gle.com...[color=blue]
    > I am using the GROUP_CONCAT() as follows:
    >
    > SELECT (SELECT CONCAT(ProjectN ame) FROM Project WHERE
    > FIND_IN_SET(Pro jectID, RelatedProjectI D))AS RelatedProject
    >
    > We have a project tracker system and we can have one project be
    > related to several different projects. the issue is when there is
    > only 1 related project associated with another project, this query
    > does not work. Is there some sort of bug with GROUP_CONCAT?[/color]


    Comment

    Working...