Searching for "select"

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:

Select the correct statement about cellular respiration?

A) All the carbon atoms in glucose ultimately incorporated during cellular respiration into carbon dioxide molecule B) All the carbon atoms in glucose ultimately incorporated during cellular respiration into NADH molecule
C) All the carbon atoms in glucose ultimately incorporated during cellular respiration into ATP molecule D) All the carbon atoms in glucose ultimately incorporated during cellular respiration into water molecule
 
Answer & Explanation Answer: A) All the carbon atoms in glucose ultimately incorporated during cellular respiration into carbon dioxide molecule

Explanation:

All the carbon atoms in glucose ultimately incorporated during cellular respiration into carbon dioxide molecules.

Report Error

View Answer Report Error Discuss

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

Q:

Select the correct statement about the Evolution of Animals.

A) The oldest generally accepted fossils of large animals range in age from 565 to 550 million years old. B) No animal fossils are found in strata formed before the Cambrian explosion.
C) Approximately half the phyla of living organisms are found in Cambrian sediments. D) All the above
 
Answer & Explanation Answer: A) The oldest generally accepted fossils of large animals range in age from 565 to 550 million years old.

Explanation:

The oldest generally accepted fossils of large animals range in age from 565 to 550 million years old.

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank PO

Q:

Select the correct statement about the Heart Valves.

A) Aortic and pulmonary valves control the flow of blood into the heart. B) The AV valves are supported by chordae tendineae so that regurgitation of blood into the atria during ventricular contraction does not occur.
C) The tricuspid valve divides the left atrium from the left ventricle. D) The mitral valve separates the right atrium from the right ventricle.
 
Answer & Explanation Answer: B) The AV valves are supported by chordae tendineae so that regurgitation of blood into the atria during ventricular contraction does not occur.

Explanation:

The correct statement from the given options is

The AV valves are supported by chordae tendineae so that regurgitation of blood into the atria during ventricular contraction does not occur.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank PO

Q:

Select the odd term out of the following?

A) Internet B) Macintosh OSX
C) Linux Mint D) Windows 8.1
 
Answer & Explanation Answer: A) Internet

Explanation:

Internet is not an operating system.

Report Error

View Answer Report Error Discuss

Q:

In the following options, select the one which is different from the other three ?

A) Concentration B) Concourse
C) Radiation D) Confluence
 
Answer & Explanation Answer: C) Radiation

Explanation:

Radiation shows the property of spreading while the rest three shows concentration at a point.

Report Error

View Answer Report Error Discuss

Filed Under: Analogy
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Bank Clerk , Bank PO

Q:

A five-member committee has been formed to select the candidate for the post of editor-in-chief of Rajya Sabha TV (RSTV). Who will head this committee ?

A) Shashi Shekhar Vempati B) Rahul Srivastava
C) Swapan Dasgupta D) A Surya Prakash
 
Answer & Explanation Answer: D) A Surya Prakash

Explanation:
Report Error

View Answer Report Error Discuss

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

Q:

To fill 8 vacancies there are 15 candidates of which 5 are from ST. If 3 of the vacancies are reserved for ST candidates while the rest are open to all, Find the number of ways in which the selection can be done ?

A) 7920 B) 74841
C) 14874 D) 10213
 
Answer & Explanation Answer: A) 7920

Explanation:

ST candidates vacancies can be filled by C35 ways = 10 

Remaining vacancies are 5 that are to be filled by 12 

=> C512= (12x11x10x9x8)/(5x4x3x2x1) = 792 

Total number of filling the vacancies = 10 x 792 = 7920

Report Error

View Answer Report Error Discuss

Filed Under: Permutations and Combinations
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk