Occurrence of a Word? Anybody

Discussion in 'MySQL' started by webboy, Jul 2, 2011.

  1. #1
    Hi all just a quick question , dose anybody know how i can run a MYSQL query to produce the occurrence of each word in a row / col eg without using Like

    +-----+
    |data |
    +-----+
    |A B C|
    |A C A|
    |A A A|


    A = 6
    B = 1
    c = 3

    Would it better to do this in php , as i know it will take a while to process ?
     
    webboy, Jul 2, 2011 IP
  2. plog

    plog Peon

    Messages:
    298
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #2
    plog, Jul 5, 2011 IP