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

Which version of sql do I have?

1034


What are operators available in sql?

1023


What is indexes?

1046


What is the difference between functions, procedures, and packages in pl/sql?

1024


Is it possible to read/write files to-and-from PL/SQL?

1082


What do you understand by pl/sql packages?

1045


What are secondary keys?

953


How do you remove duplicate records from a table?

926


What are the types of index in sql?

1048


What are the two types of exceptions in pl/sql?

1021


What is minus?

969


How do I sort a table in sql?

1020


Can we alter stored procedure?

967


Why is there a need for sqlcode and sqlerrm variables?

1028


How do you modify a column in sql?

975