The largest livestock population in the world is in (a) China (b) India (c) Indonesia (d) United States of America
4 15014In India One rupee notes are issued by the: (a) Reserve Bank of India (b) State Bank of India (c) President of India (d) Government of India
14 20630. Harshavardhana was defeated by (1) Kirtivarman (2) Narasimhavarman (3) Pulakesin I (4) Pulakesin II
6 25474. How long can a Presidential ordinance remain in force? (1) 2 moths (2) 3 months (3) 6 months (4) Till the president revokes it
9 54969Which of the following is known as ?graveyard of RBCS?? 1 Liver 2 Bone marrow 3 Spleen 4 appendix
12 58071There is how many members should be involved in an interview committee constituted by the Haryana staff selection commission?
1 3715What will be the exam pattern and syllabus for j.e post of haryana staff selection commision? Advt no. (02/2015) Some people says it would only be objective type question papers while others say it would be same as ssc (1 objective,1 conventional) ?? Please answer this question it is needfull to all.
1734Post New HSSC Interview Questions
What is drush used in drupal?
What does allotropic mean what does iron and steel have to do with it?
How to set login page as default page in laravel?
What are sessions in codeigniter?
What is the difference between microsoft access and sql?
What is difference between arraylist and list in java?
Here is a neat trick for checking whether two strings are equal
How do you insert a table of contents in word 2007?
What are the swing components in java?
I heard that Apple's laptop usese micro controler whereas others use microprocessors... i learnt tat.. micro controller is nothing but an association of microprocesor with other elements like temperature sensor,timer etc...can anyone explain me this much more in simpler words...
Can you create partial delegates and enumerations?
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
Why linq is required?
What are the different cubes you worked in fi?
How do you create a python function ?