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 / seethal
select stu_name from(select stu_name,count(stu_name) sc from
stu_table group by stu_name)where sc > 1;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do we display rows from the table without duplicates?
Which are the five query types available in oracle?
What is an Oracle Instance?
How to drop a stored procedure in oracle?
What are the limitations of check constraint?
Which is better Oracle or MS SQL? Why?
What's dateware house and what's clustor with practicle example
why dont we assign not null constraint as table level constraint.
What is a partition in oracle?
What is a procedure in oracle?
What is background process in Oracle?
How to change system global area (sga) in oracle?
How to define default values for formal parameters?
Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.
How to define a record variable to store a table row?