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 / u.radha

SELECT STUD_NAME,COUNT(*) FROM STUDENT GROUP BY STUD_NAME
HAVING COUNT(*) > 1

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to handle exceptions in post production

1041


Explain the use of indexes option in exp command.

673


material view and view disadvantages?

711


In what script is snap$ created? In what script is the scott/tiger schema created?

2333


List out the types of joins.

685






What is the disadvantage of User defind function?

1914


How to invoke the original export import utilities?

587


What is the difference between formal parameters and actual parameters?

617


How to change user password in oracle?

697


How to apply filtering criteria at group level in oracle?

664


Explain what are the type of synonyms?

667


Is it possible to split the print reviewer into more than one region ?

1919


How to open a cursor variable?

683


Explain the use of Merge statement in oracle 11g

684


What are the different types of trigger and explain its various uses and functions?

644