Advertisement

04.29.2008 at 12:01AM PDT, ID: 23361238
[x]
Attachment Details

sql server 2005

Asked by shore-support in SQL Server 2005

Tags: sql server 2005

Question

create table xyz
(
emp_id int,
man_id int
)


insert into xyz values(4,3)
insert into xyz values(3,8)
insert into xyz values(1,2)
insert into xyz values(2,4)

select * from xyz


I want output as

1,2
2,4
4,3
3,8

In hierarchy&&

Start Free Trial
[+][-]04.29.2008 at 12:03AM PDT, ID: 21460131

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 12:11AM PDT, ID: 21460159

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 12:12AM PDT, ID: 21460164

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 12:19AM PDT, ID: 21460189

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 12:25AM PDT, ID: 21460206

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 12:27AM PDT, ID: 21460214

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: sql server 2005
Sign Up Now!
Solution Provided By: HuyBD
Participating Experts: 4
Solution Grade: A
 
 
[+][-]04.29.2008 at 12:52AM PDT, ID: 21460294

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 12:57AM PDT, ID: 21460313

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 02:17AM PDT, ID: 21460630

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628