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
Name the various constraints used in oracle?
What is varray?
WHAT IS ecc 6.0
What is the relation of a user account and a schema?
How many types of tables are there in oracle?
Why do you create or replace procedures rather that drop and recreate.
How to assign data of the deleted row to variables?
What is a proxy class?
 How to use an oracle sequence generator in a mapping?
Explain the dml?
How to convert characters to times in oracle?
WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?
Is java required for oracle client?
How to create a new user account in oracle?
What is a connect identifier?