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

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

TCS Interview Questions
Questions Answers Views Company eMail

Tell me about yourself?

229 548835

Describe a complex problem you have solved or haven't solved?

9 53251

What are your short-range and long-range goals and how do you expect to achieve them?

17 76721

What are your Greatest strengths and weaknesses?

47 199695

What do you expect of others in a team environment?

12 50256

How do you establish working relationships with new people?

11 56551

Where you would like to be in 5 years?

23 68942

what are the stages in Testing life cycle?

50 120241

What is Boundary Value Analysis(BVA) and Equivalence Class Partition(ECP)?

10 60293

What is your biggest strength ?

23 79902

what is tracebility matrix?

8 28634

what is test plan and what it consists?

15 63491

what is sevirity and who will decided that one?

11 26755

what are Recoring modea available in winrunner?

3 10811

What accessories required to give the motor with given circuits and do you know the ratings of those accessories?

4 31133

Post New TCS Interview Questions


TCS Interview Questions


Un-Answered Questions

What is gpa?

1


Who is office sharepoint server 2007 designed for?

681


 What is database clone?

1432


List types of identifiers available in scala?

1


what is the difference between require() and include() when an error is encountered?

857


How do I fix my windows 10 start menu?

834


Hi, I am new in oracle(SQL), could anyone help me in writing a correct SQL. Below is the table structure. Table: Subsc Fields: 1. Sub_no (this field will hold values of subscriber nos, for e.g. S111111, S222222, S333333, S444444, etc.) 2. s_status (this field will hold values for different status of subscriber, for e.g. 'A', 'S', 'C', etc.) 3. cus_id (this field will hold values of bill nos for e.g. 11111111, 22222222, 33333333, 44444444, etc.) Table: Bill Fields: 1. Bill_no this field will hold values of bill nos for e.g. 11111111, 22222222, 33333333, 44444444, etc.) 2. b_status = (this field will hold values for different status of bill for e.g. 'O', 'C', 'S', etc.) Note: 1. The Sub_no is a Primary key of Subsc table. 2. The cus_id is a foreign in Subsc table (referred from Bill_no field of Bill table) 3. The Bill_no field is the Primary key of Bill table. Query A --> I wrote a query to select cus_id/Bill_no which is in status open (b_status = 'O') and having more than two active subscriber (i.e. S_status = 'A') in it ( i.e. more the two subscribers in same bill). select s.cus_id from subsc s where exists (select 1 from bill where bill_no = s.cus_id and b_status = 'O') and s_status = 'A' group by s.cus_id having count(sub_no) = 2 Problem : The above query will give the cus_id (or rather bill_no) which are in open status (b_status ='O) and which are having TWO ACTIVE Subscribers (s_status ='A') in it. However, this query will also lists the cus_id/bill_no which are having more than TWO subscribers in it (but only two subscriber will be in Active status (s_status = 'A') and the others will be in s_status = 'C' or s_status = 'S'. Help needed: I want to write a query which will fetch ONLY the cus_id/bill_no which are in open status (b_status ='O') and which are having ONLY TWO ACTIVE subscribers (s_status ='A') in it. B--> If I include the sub_no in the above query then NO row are returned. select s.cus_id, s.sub_no from subsc s where exists (select 1 from bill where bill_no = s.cus_id and b_status = 'O') and s_status = 'A' group by s.cus_id, s.sub_no having count(sub_no) = 2 Help needed: I want to modify the above query which will fetch ONLY the cus_id/bill_no which are in open status (b_status ='O') and which are having ONLY TWO ACTIVE subscribers (s_status ='A') in it ALONG with the sub_no. Thanks a lot in advance. Regards, Nitin

2291


What is a product backlog in scrum?

5


How to check the string consists of alphanumeric characters ?

912


What is the protocol used in Network layer?

1078


What is multisite wordpress?

173


What is a font weight?

578


How can we import the data into a database using sql * loader?

1125


have you ever had difficulty getting others to accept your ideas?

1190


What is the significance of the memory table ‘screen’?

1036