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

How to write html code in pl sql?

1115


What is prepared statement in sql?

1049


What are sql functions? Describe the different types of sql functions?

1143


What is a unique key and primary key and foreign key?

969


What is difference between left and right outer join?

987


What is schema in sql example?

1179


How is use pl and sql?

1059


Can we rollback after truncate?

1031


What is the advantage of nosql?

1061


Can we use views in stored procedure?

1032


What is execution plan in sql?

1046


What is dense_rank?

935


What are the benefits of pl/sql packages?

1107


What are the query optimization techniques?

935


What is foreign key and example?

937