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

SELECT name FROM student_table
GROUP BY name
HAVING ( COUNT(name) > 1 );

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a deadlock?

1051


What are the roles of dba?

1054


what is the scenario where you take the database to NoArchivelog mode?

2304


How to check the oracle tns settings?

1032


What is the difference between 10g OEM and 11g OEM?

950


How to shutdown your 10g xe server from command line?

1067


How to use subqueries with the in operator using oracle?

1070


What is index in Oracle?

1054


How to create id with auto_increment on oracle?

972


How to update a table row with a record?

994


Explain an integrity constrains?

1122


What do you mean by merge in oracle and how can you merge two tables?

935


How to retrieve data from an cursor to a record?

1074


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

2024


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

2119