Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Csv Export Of 1->m Tables #28991
    blinks2
    Member

    Problem solved –

    group_concat(DISTINCT searchkey_author.rk_author ORDER BY searchkey_author.rk_author DESC SEPARATOR ';') AS rk_author

    Thanks!

    in reply to: Csv Export Of 1->m Tables #28990
    blinks2
    Member

    Peter, thank you for your reply. A simpler example and resulting output is –

    SELECT

    searchkey.rk_id AS rk_id,

    searchkey.rk_title AS rk_title,

    searchkey_author.rk_author AS rk_author,

    searchkey_keywords.rk_keywords AS rk_keywords

    FROM searchkey

    LEFT JOIN searchkey_author ON rk_id=rk_author_id

    LEFT JOIN searchkey_keywords ON rk_id=rk_keywords_id

    WHERE rk_id=”12345″;

    yields the following output –

    rk_id rk_title rk_author rk_keywords

    12345 Why physics is the best Brown, B Australia

    12345 Why physics is the best Brown, B physics

    12345 Why physics is the best Smith, J Australia

    12345 Why physics is the best Smith, J physics

    whereas the output I want is –

    rk_id rk_title rk_author rk_keywords

    12345 Why physics is the best Brown, B; Smith, J Australia; physics

Viewing 2 posts - 1 through 2 (of 2 total)