Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

About case statement

$
0
0

Table structure,

ID Question Answer QuestionType

I have above 4 columns in the table. I have 4 different questiontypes like A,B,C,D. An ID can have any no.of question types(4/3/2/1). If an ID have a only one questionype(A), I dont want to show the number(getting from some other table). If an ID have multiple questitypes, I want to show the number. Can you help me in it.

Thanks,

Gangadhar


Viewing all articles
Browse latest Browse all 8428

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>