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 / neha_gupta

select ename,count(1) from student
group by ename
having count >1

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I convert single byte kana characters into multi byte kana characters and vice-versa.

2012


What is an oracle data file?

701


what is the difference between data migration and production migration.

1904


How to create a new oracle data file?

640


how can db_files > maxdatafiles since db_files is for instance and the later is for database

2252






How to commit the current transaction in oracle?

664


Why we use bulk collect in oracle?

605


What is oracle in java?

624


How to create an oracle testing table?

683


What is the quickest way to fetch the data from a table?

677


What is the difference between I and G in Oracle?

688


Explain about achiever in sql?

665


What language does oracle use?

713


How does the on-delete-cascade statement work?

702


What is the difference between 10g OEM and 11g OEM?

628