write a query to dispaly those name who is more than one in
student table?
example- in a student table sandeep kumar comes 4 times,
rakesh kumar comes 2 times, ajit kumar comes 1 times so
query will display sandeep kumar and rakesh kumar single
times.
Answer Posted / cheeku
select distinct NM from
(
(select name from student_tbl M where exists
(select 1 from student_tbl S where
S.name = M.name and
S.rowid <> M.rowid)
)NM;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
List out the difference between commit, rollback, and savepoint?
What is rich query?
How to get a create statement for an existing table?
Explain the use of indexes option in exp command.
How to assign query results to variables?
How to rename an index in oracle?
Are truncate and delete commands same? If so why?
What is an oracle table?
How to drop an existing table in oracle?
How to assign a tablespace to a users in oracle?
What is Trigger in Oracle?
What is a snapshot log?
What is an oracle data file?
what is the scenario where you take the database to NoArchivelog mode?
Where do we use decode and case statements?