Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

select distinct NM from
(
(select name from student_tbl M where exists
(select 1 from student_tbl S where
S.name = M.name and
S.rowid <> M.rowid)
)NM;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data block in Oracle?

1116


How to apply filtering criteria at group level in oracle?

1043


Explain a synonym?

1032


How to start an oracle instance?

1019


What is the difference between sharding and partitioning?

986


Please explain oracle left join with an example?

1048


What do you mean by group by clause?

1045


how may join possible between (requisition with purchase order)

2252


How to drop an existing view in oracle?

946


How would you change old and new values in an insert, delete and update triggers?

1022


How to set up autotrace for a user account?

1059


What is bulk load in oracle?

1070


What are the differences between char and nchar in oracle?

1096


How to fetch the row which has the max value for a column?

1002


what is the difference between data migration and production migration.

2346