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

check whether all the emp numbers are indeed unique.

Answer Posted / santhi kandasamy

In Oracle,

select empno from emp where empno is not null
group by empno
having count(*) >1;

if the above query does not return any rows then you can
consider, empno having unique values.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is dbms?

1039


What are pl/sql cursor exceptions?

1077


What are some emotional triggers?

964


What is the use of <> sql?

961


Does group by remove duplicates?

1021


Can you join a table to itself?

1108


What is a schema? How is it useful in sql servers?

1096


Define commit, rollback and savepoint?

1016


what are the different tables present in mysql? : Sql dba

958


How much does sql cost?

974


what is the difference between a having clause and a where clause? : Sql dba

1062


how can we find the number of rows in a table using mysql? : Sql dba

1069


How do I remove all records from a table?

1062


What are different types of statements supported by sql?

1147


Is join and inner join the same?

990