what is the main difference between join and subqurey?
Answers were Sorted based on User's Feedback
Answer / ravi
all join may be sub query , but sub-query never be join
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / ankush
A subquery is a query within a query.
A join is used to combine rows from multiple tables (2 or
more tables).
Its also can be done within a single table.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / udayselva
Subquery returns only one row and Join return More than one rows
| Is This Answer Correct ? | 0 Yes | 6 No |
What are the types of join in sql?
Which data type is a composite type?
a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution
What is dcl in sql?
What is the difference between in and between in sql?
how to get a list of all tables in a database? : Sql dba
SELECT ROUND(TRUNC(MOD(1600,10),-1),2) FROM dual;
what are the t string functions available in tsql? : Transact sql
Is oracle sql free?
explain the delete statements in sql
What is crud stand for?
What is integrity in sql?
Oracle (3259)
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)