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 indexing in sql server with example?
how to create “alternate row colour”?
Explain the third normal form(3nf)?
How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
How can I add Reporting Services reports to my application?
What is default port number for sql server 2000?
What are the differences between union, intersect, and minus operators?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
what stored procedure can you use to display the current processes? : Sql server administration
Distinguish between nested subquery and correlated subquery?
When would you use a before or after trigger?
What do you understand by integration services in sql server?
explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
What is the use of keyword with encryption.
What are the key configuration files for sql server reporting services ?