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

Why do you use stored procedures and state some of its disadvantages?

1009


Why cursor variables are easier to use than cursors?

1064


How to generate query output in html format?

1089


What is a cursor and what are the steps need to be taken?

1179


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

2040


Does oracle database need java?

979


What is ceil and floor in oracle?

1050


How to convert dates to characters in oracle?

1018


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

981


What happens to the indexes if a table is recovered?

971


Write a syntax for update query in oracle?

1008


How to use "for" statements in oracle?

1057


Is oracle an operator?

909


What is a data dictionary and how can it be created?

1114


What is a view and how is it different from a table?

1026