Searching for "i"

Q:

A subquery in an sql select statement.

Answer

A Subquery or Inner query or a Nested query is a query within another SQL query and embedded within the WHERE clause.


Subqueries are most frequently used with the SELECT statement. The basic syntax is as follows::


SELECT column_name [, column_name ]
FROM table1 [, table2 ]
WHERE column_name OPERATOR
(SELECT column_name [, column_name ]
FROM table1 [, table2 ]
[WHERE])



A subquery is used to return data that will be used in the main query as a condition to further restrict the data to be retrieved.


Subqueries can be used with the SELECT, INSERT, UPDATE, and DELETE statements along with the operators like =, <, >, >=, <=, IN, BETWEEN, etc.


 


There are a few rules that subqueries must follow −


 


1. Subqueries must be enclosed within parentheses.


2. A subquery can have only one column in the SELECT clause, unless multiple columns are in the main query for the subquery to compare its selected columns.


3. An ORDER BY command cannot be used in a subquery, although the main query can use an ORDER BY. The GROUP BY command can be used to perform the same function as the ORDER BY in a subquery.


4. Subqueries that return more than one row can only be used with multiple value operators such as the IN operator.


5. The SELECT list cannot include any references to values that evaluate to a BLOB, ARRAY, CLOB, or NCLOB.


6. A subquery cannot be immediately enclosed in a set function.


7. The BETWEEN operator cannot be used with a subquery. However, the BETWEEN operator can be used within the subquery.

Report Error

View answer Workspace Report Error Discuss

Q:

Which solution has the highest pH?

A) 50.0 mL 0.0500 M calcium hydroxide, Ca(OH)2 (aq) B) 50.0 mL 0.0500 M sodium hydroxide, NaOH (aq)
C) 50.0 mL 0.0500 M nitric acid, HNO3 (aq) D) 50.0 mL 0.0500 M nitrous acid, HNO2 (aq)
 
Answer & Explanation Answer: A) 50.0 mL 0.0500 M calcium hydroxide, Ca(OH)2 (aq)

Explanation:

50.0 mL 0.0500 M calcium hydroxide, Ca(OH)2 (aq) has the highest pH value.

Sodium hydroxide and Calcium hydroxide are strong bases so they completely ionize in solution. Because they ionize at the same rate, and Calcium hydroxide has the higher pH calculated, then Calcium hydroxide, in fact, has the highest pH.

Nitric acid is a strong acid, so it completely ionizes in water. Whilst nitrous acid is a weak acid. Therefore, the nitric acid solution has the LOWEST ph.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

Q:

Where is a hub specified in the OSI model?

A) Data link layer B) Session layer
C) Application Layer D) Physical layer
 
Answer & Explanation Answer: D) Physical layer

Explanation:

Hubs are specified or operate at Layer1 i.e, the physical layer in the OSI model. Hubs regenerate electrical signals. A hub sends data packets (frames) to all devices on a network, regardless of any MAC addresses contained in the data packet.

Report Error

View Answer Report Error Discuss

Filed Under: Networking
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

Q:

Find the missing number in the given number series?

5 11 21 44 ? 175

A) 86 B) 78
C) 94 D) 102
 
Answer & Explanation Answer: A) 86

Explanation:

Here the given number series is 5  11  21  44  ?  175

 

Now the given series follows a pattern, that

 

x2 + 1, x2 - 1, x2 + 2, x2 - 2, x2 + 3, x2 - 3,...

 

Then the missing number is x2 - 2

 

= 44 x 2 - 2 = 88 - 2 = 86

 

Hence, the missing number in the number series is 86.

Report Error

View Answer Report Error Discuss

Q:

On retirement, a woman gets Rs. 1,45,440 of her provident fund which she invests in a scheme at 20% per annum. Her monthly income from this scheme will be

A) Rs. 2550 B) Rs. 2424
C) Rs. 2224 D) Rs. 2380
 
Answer & Explanation Answer: B) Rs. 2424

Explanation:

Now, the principal amount P = Rs. 1,45,440

Rate of interest R = 20%/annum

Now monthly income I = PTR/100 = 1,45,440 x 20 x 1/100 x 12

= 2908800/1200

= Rs. 2424.

 

Hence, her monthly income = Rs. 2424.

Report Error

View Answer Report Error Discuss

Filed Under: Simple Interest
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

Q:

Which of the following is known as the Electronic City of India?

A) Hyderabad B) Mumbai
C) Bengaluru D) Gurgaon
 
Answer & Explanation Answer: C) Bengaluru

Explanation:

Bengaluru city is known as the Electronic City of India. Because Electronic City is an IT hub in Anekal taluk of Bengaluru, Karnataka, India. It is one of India's largest electronic industrial parks in 3 phases i.e, in Konappana Agrahara and Doddathogur villages, Bengaluru.

Report Error

View Answer Report Error Discuss

Q:

Fumble is to Finesse as Malign is to

A) Slander B) Extol
C) Criticize D) Assurance
 
Answer & Explanation Answer: B) Extol

Explanation:

Fumble means grope, mishandle, drop, mistake, blunder, bungle.

Finesse means skill, grace, elegance, assurance, diplomacy, discretion.

So, they are opposites.

 

Similarly,

Malign means slander or criticize.

Extol means being kind or good-natured. A person without finesse often fumbles. A person without extol in his heart often maligns.

Extol means praise or exalt, benevolence

Report Error

View Answer Report Error Discuss

Filed Under: Analogy
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

Q:

How fast do satellites orbit the earth?

A) 28,000 kmph B) 26,000 kmph
C) 17,500 kmph D) 22,500 kmph
 
Answer & Explanation Answer: A) 28,000 kmph

Explanation:

Satellites orbit the earth at a speed of 28,000 kmph.

Satellites that are further away actually travel slower. The International Space Station has a Low Earth Orbit, about 400 kilometers (250 miles) above the earth's surface. Objects orbiting at that altitude travel about 28,000 kilometers per hour (17,500 miles per hour).

Report Error

View Answer Report Error Discuss