Questions

Q:

What has roots that nobody sees, Is taller than trees, Up, up it goes, Yet it never grows?

Answer

A mountain is what has roots that nobody sees, Is taller than trees, Up, up it goes, Yet it never grows.


 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

3 2228
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

0 2227
Q:

There were 42 students in a hostel. Due to the admission of 13 new students, the expenses of the mess increase by Rs. 30 per day while the average expenditure per head diminished by Rs. 3. What was the original expenditure of the mess ?

A) Rs. 630 B) Rs. 580
C) Rs. 470 D) Rs. 690
 
Answer & Explanation Answer: A) Rs. 630

Explanation:
Report Error

View Answer Report Error Discuss

0 2227
Q:

The ratio of volume of a cone to that of a cylinder if cylinder radius is reduced by 4 times and its height increased by 8 times of that of the cone, is - 

A) 3:2 B) 2:3
C) 5:7 D) 7:5
 
Answer & Explanation Answer: B) 2:3

Explanation:

Ans. Let radius of the base and height of the cone be ‘r’ & ‘h’ respectively.

Then volume of cone = πr2h/3 For cylinder, radius is reduced by 4 times = r/4 And,  height is increased by 8 folds = 8h Volume of cylinder = πR2H = π(r/4)2 (8h) = (16/8)πr2h = πr2h/2 Ratio of volume of cone to volume of cylinder = (πr2h/3) : (πr2h/2) Or, Ratio = 2 : 3.

Report Error

View Answer Report Error Discuss

1 2227
Q:

In which direction earth spins on its axis?

A) West to East B) East to West
C) South to North D) North to South
 
Answer & Explanation Answer: A) West to East

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 2227
Q:

When was the voting machine invented?

A) 1980 B) 1892
C) 1989 D) 1920
 
Answer & Explanation Answer: B) 1892

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2227
Q:

Which railway station became the first of South Central Railway zone to hoist a tricolour flag (100ft)?

A) Secunderabad B) Chennai
C) Bengaluru D) Panaji
 
Answer & Explanation Answer: A) Secunderabad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2227
Q:

A theocracy is ruled by religious leaders who

A) claim to act with divine authority B) believe that rule by religious law is wrong
C) believe that a communist government leads best D) claim divine authority sways government
 
Answer & Explanation Answer: A) claim to act with divine authority

Explanation:

A government ruled by religiuos leaders is Theocracy. A theocracy is ruled by religious leaders who claim to act with divine authority.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2227