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

select rowid from (
select emp_no, rownum() over (emp_no) as Rownum
from emp order_by emp_no,sal
) where rownum > 2

If this query returns no rows then we can say all the emp
numbers are indeed unique.

Regard,
Valli

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use partitions in sql?

1057


What is a pl/sql block?

1237


tell me about various levels of constraint. : Sql dba

1041


what is an extent ? : Sql dba

1109


What is mdf ldf and ndf?

1007


write an sql query to find names of employee start with 'a'? : Sql dba

1037


how are mysql timestamps seen to a user? : Sql dba

1147


Is it possible to update views?

970


how can you see all indexes defined for a table? : Sql dba

1006


Explain ddl statements in pl/sql?

1014


Explian rowid, rownum? What are the psoducolumns we have?

1008


what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

961


Mention what does plv msg allows you to do?

1131


Explain the structure of pl/sql in brief.

1099


What is a temporal table?

936