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 / chitram
select e1.sname,e2.sname from emp e1,emp e2 where e1.sname
= 'ram'
and e2.sname = 'raj';
| Is This Answer Correct ? | 3 Yes | 14 No |
Post New Answer View All Answers
How to create a large table with random data for index testing in ms sql server?
How to set the current database in ms sql server?
How to implement service broker?
What will happen if a column containing char type data is changed to the nchar data type?
Can you always create a cache of a report?
What is the difference between createstatement and preparedstatement?
What are the results of running this script?
How to install sql server 2005 express edition?
Your company has 50 branches all over the country all the branches, including the head office have sql server as the database every night all 50 branches upload certain information to the head office which replication topology is best suited for the above scenario?
How to receive output values from stored procedures?
What is an expression in ms sql server?
What is temporal table?
What is code near application topology?
What is resource governor?
Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?