Why do we use subquery?
Answer / Pankaj Kumar Dagar
Subqueries are used in SQL to nest one query inside another. They allow us to perform complex queries by combining multiple queries into a single query. For example, using a subquery we can retrieve data that matches a condition from one table and then use that result in a query on another table.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to rename a column in the output of sql query?
Why is sharding used?
How can you fetch first 5 characters of the string?
How do I write a cron which will run a sql query and mail the results to agroup?
Why indexing is needed?
one of the column in my table contains the data like SAL ---- 1000 1000 2000 3000 3000 So my requirement is i want output like SAL --- 1000 2000 3000 it mean i want to delete duplicate rows in the table permanently and i want output in the above formatow should u write query?
Explain exception handling in pl/sql?
Can we join more than 2 tables in sql?
What is clustered and non-clustered indexes?
what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?
How do I install sql?
Is it possible to pass parameters to triggers?
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)