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
Characterize join and name diverse sorts of joins?
How to disable a login name in ms sql server?
How to connect of datebase with sql express.?
What is the contrast between sql and mysql?
How can you append an identity column to a temporary table?
How to perform backup for certificates in sql server? : sql server security
How to skip remaining statements in a loop block using continue statements?
What are the advantages of the mirroring?
How to verify a user name with sqlcmd tool?
What are magic tables in sql server?
What are the advantages of mirroring?
Explain stored procedure?
How to modify an existing stored procedure in ms sql server?
What are the types of indexing?
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many