I have a database structure like this:
Ans Qid
Null 1
8 1
Null 1
Null 1
I want to find only non null value 8 based on qid,rather than both null and non null value on bais of qid.
i.e my output shouid be like this:
Ans Qid
8 1
Please suggest me some sql server query to achieve this
priyankaPosted Jul 19, 2017, 5:52 AM
Ibrahim SiddiquePosted Jul 19, 2017, 5:42 AM
priyankaPosted Jul 19, 2017, 5:03 AM
Ibrahim SiddiquePosted Jul 19, 2017, 2:34 AM
Puneet KankarPosted Jul 19, 2017, 2:33 AM