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 querry .if 10 records in a table.i want only 1
record and 3 reocrd and 10 record. how to write a querry.

Answers were Sorted based on User's Feedback



write a querry .if 10 records in a table.i want only 1 record and 3 reocrd and 10 record. how to w..

Answer / sreelatha reddy

suppose you have 10 records in a table.First i will explain
about the structure of the table.

emp Table
Sno sname ssal scommm
1 aaa 3000 400
2 bbb 4000 500
3 ccc 5000 500
4 ddd 6000 600
-
-
-
-
-
10 zzz 8000 800


select * from emp where sno in(1,3,10);

Is This Answer Correct ?    2 Yes 0 No

write a querry .if 10 records in a table.i want only 1 record and 3 reocrd and 10 record. how to w..

Answer / kishore kumar

select * from table name where rownum in (1,3,10);

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Testing AllOther Interview Questions

What is Test Server?

1 Answers   TCS,


What is different Between Black boxtesting and functional testing...

1 Answers   Millennium,


what is testing , why will be testing ,what is responsibilities of tester

3 Answers   Infosys, TCS,


content of test status report

1 Answers   Convergys,


I'm interested to build my career in testing and I don't have much knowledge which book is good to refer. Can anybody please share some books names ?

3 Answers  


What is eexception?

0 Answers  


Explain inputs?

0 Answers  


When you have logged a Defect for X, Y, Z issue. i)If X, Y issues are fixed and Z issue is not fixed. What will you do? ii)If X, Y, Z issues are fixed and a new issues T is created. What will you do?

1 Answers   Cap Gemini,


IF i have two columns in Database , While using Database output value ,allthe values in the two column are set as a single row in the QTP datatable, can u suggest me a idea so that QTP Runtime datatable displays the values as it is in the database

0 Answers  


What the difference between a 'defect' and a 'failure' in software testing is?

0 Answers  


When is rtm (requirement traceability matrix) prepared?

0 Answers  


What advantages would using an iSCSI Storage Area Network (SAN) give to your organization over using Direct Attached Storage (DAS) or a Fibre Channel SAN?

0 Answers  


Categories