Hello I am having two tables and I want to generate the report where all the rows will be in single line.
tbl_Questions:
Id  Name
---------
1   Abc
2   Cde
3   xyz
4   MMM
tbl_Reponses:
Id  QuestionId   Values
------------------------
1      1           123
2      2           456
3      3           444
Now I want to get a query which will show sometime like this in result.
Id Abc Cde xyz MMM
-------------------
1  123 456 444 
How can I get this through a query ?
 
     
     
    