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

select v_id from dup where rowid not in (select max(rowid)
from dup group by v_id);

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain a data segment?

747


Explain the blob datatype?

697


Who developed oracle & when?

654


What suggestions do you have to reduce the network traffic?

631


What is an Oracle index?

1274






How to use select statement to count the number of rows in oracle?

630


How to call a stored function in oracle?

644


In which language oracle has been developed?

731


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

1640


State the difference between a primary key and foreign key?

596


How to convert character types to numeric types?

666


What will be the syntax to find current date and time in format "yyyy-mm-dd"?

650


How to convert characters to numbers in oracle?

674


while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511

3998


What is an oracle?

658