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


Please Help Members By Posting Answers For Below Questions

what are actual and formal parameters?

669


Can group functions be mixed with non-group selection fields?

628


I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.

1937


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1548


defination of bitmap index

1715






Explain what are the uses of rollback segment?

661


What are the differences between blob and clob in oracle?

665


How to load data through external tables?

681


Describe an oracle table?

661


Explain what are synonyms used for?

698


What happens if the update subquery returns multiple rows?

691


How to do a full database export?

728


Please explain oracle data types with examples?

659


query optmization techniques and quwry analyser+projects+ppts

2059


State the difference between a primary key and foreign key?

596