How subquery works in sql?
Answer / Rahul Bhardwaj
A subquery is a type of SQL query that is nested within another SQL statement. It retrieves data from a database based on the results of another SQL query. Subqueries can be used for various purposes, such as filtering data, performing calculations, and joining tables. The outer query retrieves data based on the results returned by the inner query. There are several types of subqueries in SQL: simple subquery, correlated subquery, existential subquery, and common table expression (CTE).
| Is This Answer Correct ? | 0 Yes | 0 No |
How is data stored on a disk?
Compare SQL and PL/SQL.
What is right join sql?
what is HASH join?
How do I turn a list into a table?
suppose u hav 1 book with set...page 1-100 n 101 -200 now print page from 2-100 n 102 -200... how we will do..?
Source is Sales Table: Sno Prod Sales Sales_Amount 1 A 10 2000 2 A 20 1000 3 C 10 3000 4 D 30 4000 5 A 20 1000 Target : Sales_Count T_Sales_Amt Sales_Count(A) T_Sales_Amt(A) 90 11000 50 4000 In single query, pls tell me.
find the third highest salary?
What is the difference between pl and sql?
what is 'trigger' in sql? : Sql dba
Is it possible to update views?
What is the difference between mdf and ndf files?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)