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
Do you know what is blocking?
What objects does the fn_my_permissions function reports on? : sql server security
What are different types of views?
How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?
Explain syntax for viewing, dropping and disabling triggers?
What is the use of keyword with encryption. Create a store procedure with encryption?
How to set a database state to offline in ms sql server?
What are pages and extents? : SQL Server Architecture
Explain log shipping?
What is parameterized reports in ssrs ?
What are partitioned views?
Can we perform backup restore operation on tempdb?
Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?
What is dirty read?
Explain few examples of stored procedure over triggers?