i have a table student like
sname
-----
ram
ram
ram
raj
raj
raj
i need the output like
sname
-----
ram
raj
ram
raj
ram
raj
Answer Posted / mala
select a.tnam,b.tnam from (select tnam from temp where tnam
= 'Ram' ) a,
(select tnam from temp where tnam = 'Raj' ) b
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What Is Rdbms?
What is the full form of dql?
What are tables in sql server?
Explain aggregate functions?
What are group functions in query statements in ms sql server?
Does a sql server 2005 select statement require a from?
Why is there a performance difference between two similar queries where one uses union and the other uses union all?
What are the purpose of Normalisation?
What is the command to change the recovery model?
which backup strategy you are following at ur company
Explain nested join?
How can we solve concurrency problems?
What are page splits?
What is difference in performance between insert top (n) into table and using top with insert?
What is the difference between SQL notification and SQL invalidation?