Questions

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 2482
Q:

Operating system is the most common type of

A) Application software B) Word processing
C) System software D) Communication software
 
Answer & Explanation Answer: C) System software

Explanation:

Operating system is the most common type of System software.

Report Error

View Answer Report Error Discuss

3 2482
Q:

What type of heat transfer is boiling water?

A) radiation B) conduction
C) convection D) None of the above
 
Answer & Explanation Answer: C) convection

Explanation:

Convection is by far the most efficient and common way for heat to be transferred through liquids and gases. It occurs when some regions of a fluid get hotter than others, causing currents in the fluid that move it around to distribute that heat more evenly.

Report Error

View Answer Report Error Discuss

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

3 2481
Q:

In the following question, out of the four alternatives, choose the word which best expresses the meaning of the given word and click the buttoncorresponding to it.

CONSTRAIN

A) STRESS B) CONTRADICT
C) RESTRICT D) OBSTRUCT
 
Answer & Explanation Answer: C) RESTRICT

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2481
Q:

A passage is given with 5 questions following it. Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

 

Most successful companies, institutions and organizations have mission statements. Most individuals don't. As the Chief Executive Officer of your own life in the knowledge era, you need a laser like focus in your vision. You need a mission and a mission statement describing how you want to live, not just what you want to own; defining the person you want to become, not just the title you want to see on your door; outlining the knowledge you will receive, not just the degree you'll earn or your next promotion.

I began the process this way : "To be aware of the uniqueness of my associates, clients, friends and family, and to treat that uniqueness with loving concern. I was created to lead myself and others to understand win­win relationships and how to use them to improve the lives of all persons with whom I come into contact."

You, too, can frame your mission statement starting with your core values, working outward to your material desires and financial needs.

What should a person's mission statement begin with?

A) Your core values B) What you want to acquire
C) Your monetary ambitions D) Your next promotion
 
Answer & Explanation Answer: A) Your core values

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2481
Q:

Which sport has been included in 2022 Asian Games?

A) Kabaddi B) Cricket
C) Chess D) Carroms
 
Answer & Explanation Answer: B) Cricket

Explanation:

Cricket has been included in 2022 Asian Games. The Asian Games, also known as Asiad, is a multi-sport event held every four years among athletes from all over Asia. In 2022, Asian Games are going to be hosted by China. The first Asian Games are hels in the year 1951 in New Delhi.

Report Error

View Answer Report Error Discuss

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

4 2481
Q:

What is a drawback of MVT?

Answer

It does not have the features like



  1. ability to support multiple processors

  2. virtual storage

  3. source level debugging

Report Error

View answer Workspace Report Error Discuss

0 2481
Q:

Which aricle of the UN charterr established the International Trusteeship system

A) 78 B) 79
C) 75 D) 74
 
Answer & Explanation Answer: C) 75

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

0 2480