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
What is the difference between pre-select and pre-query?
List out the types of joins.
How to use like conditions in oracle?
How many data types are supported?
What is the string concatenation operator in oracle?
What is Reduced List of Values?
What is a schema in oracle?
How to create tables for odbc connection testing?
What are the restrictions on external table columns?
ABOUT IDENTITY?
How to do a full database export?
How to create an oracle database?
What is the difference between a primary key & a unique key?
What is an oracle user role?
Explain the features of oracle?