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 |
Why do we create stored procedures & functions in pl/sql and how are they different?
how to select unique records from a table? : Sql dba
what is Difference between Having and Where clause?
what is the difference between a having clause and a where clause? : Sql dba
How do I count rows in sql?
Can you selectively load only those records that you need? : aql loader
What is a unique key?
how to insert values like 10:10:00,30:25:00 etc.into table after insert how can i sum the above insert values to get the result as 40:35:00
What programs use sql?
Can we use distinct and group by together?
What are types of joins?
i hv 30 rows with date.ex:1month hav 4 weeks i want 1st day of the every week.write the qry for that.example jan has 4 weeks i need 1st dd for evry wk
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)