Could anyone help me with the script for this

Posted by Vinoj Nambiar on Stack Overflow See other posts from Stack Overflow or by Vinoj Nambiar
Published on 2010-04-19T08:25:12Z Indexed on 2010/04/19 8:33 UTC
Read the original article Hit count: 205

Filed under:
|
|

have a table like this

    empid    questionid   options
    1        1            A
    2        1            A
    3        1            B
    4        1            C

now i need result like this

    questionid   responseA   responseB   responseC
    1            50%         10%         10%

© Stack Overflow or respective owner

Related posts about sql

Related posts about server