Hi there,
I have this query I'm trying to do in SQL. Help is greatly appericaited.
Was trying in .net but got an unknow error
TABLE:- trn_question_dtl
========================================================
trn_question_key 1
question_nbr 1
question_desc What is a Counselor?
trn_question_key 2
question_nbr 2
question_desc What is the function of a counselor?
trn_question_key 3
question_nbr 3
question_desc In your opionon what is the most fundamental idea of the twen
thith
trn_question_key 4
question_nbr 3
question_desc century? Taking into account that the main focus of this que
stion
trn_question_key 5
question_nbr 3
question_desc is to see how more thatn one line of detail is displayed on y
our com
trn_question_key 6
question_nbr 3
question_desc puter screen. Have at it.
=======================================================
I would like to have output something like this:-
=============================================================================
1 What is a Counselor?
2 What is the function of a counselor?
3 In your opionon what is the most fundamental idea of the twenthith century? Taking into account that the main focus of this question is to see how more thatn one line of detail is displayed on your computer screen. Have at it.
=============================================================================
As you can see question_nbr has to printed distinctively and last four record have thehir question_desc slapped together because they match the question_nbr as 3
A query for this would be sooo helpful...
Your help is very much appericaited..
-lucky-
I have this query I'm trying to do in SQL. Help is greatly appericaited.
Was trying in .net but got an unknow error
TABLE:- trn_question_dtl
========================================================
trn_question_key 1
question_nbr 1
question_desc What is a Counselor?
trn_question_key 2
question_nbr 2
question_desc What is the function of a counselor?
trn_question_key 3
question_nbr 3
question_desc In your opionon what is the most fundamental idea of the twen
thith
trn_question_key 4
question_nbr 3
question_desc century? Taking into account that the main focus of this que
stion
trn_question_key 5
question_nbr 3
question_desc is to see how more thatn one line of detail is displayed on y
our com
trn_question_key 6
question_nbr 3
question_desc puter screen. Have at it.
=======================================================
I would like to have output something like this:-
=============================================================================
1 What is a Counselor?
2 What is the function of a counselor?
3 In your opionon what is the most fundamental idea of the twenthith century? Taking into account that the main focus of this question is to see how more thatn one line of detail is displayed on your computer screen. Have at it.
=============================================================================
As you can see question_nbr has to printed distinctively and last four record have thehir question_desc slapped together because they match the question_nbr as 3
A query for this would be sooo helpful...
Your help is very much appericaited..
-lucky-