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

Explain the use of rows option in imp command.

604


How to get a list of all user accounts in the database?

616


How would you go about verifying the network name that the local_listener is currently using?

1604


How to invoke the data pump export utility?

561


How to install oracle database 10g xe?

562






Explain the blob datatype?

618


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1701


Explain about the analyze command in oracle?

587


How to connect the oracle server as sysdba?

633


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

1879


List the types of joins used in writing subqueries?

573


What are privileges and grants?

572


What are the uses of synonyms?

605


How do I limit the number of oracle database connections generated by weblogic server?

546


Is oracle an open source?

635