Types of joins?
Answers were Sorted based on User's Feedback
Answer / sangeetha meda
1. Self Join
Self join is a query in which a table is Joined to itself.
Self joins are used to compare the values in a column to
the other values in the same column in the same table.
2.Equi Join or Inner join
Equi join is a join in which the rows are retrieved the
equality of the relation ship between columns in the tables.
Select only those rows that have values in common in the
columns specified in the ON clause.
3.Non Equi Join or Outer Join
Left Outer Join:
Retrieves the matching records in both the table and non
matching records in the first or left table.
Right Outer Join
retrieves the matching records in both the table and non
matching records in the second or the right table.
Full Outer Join
Retrieves all the records (means matching and non matching
records in both the tables).
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / deeksha
4 types
1.equijoin
2.non-equijoin
3.self join
4.outer join
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mohana sundaram
self joins,natural joins,cross joins,inner joins,outer
joins,equi and nonequi joins.
| Is This Answer Correct ? | 2 Yes | 0 No |
(1) Inner or Equei join
(2) Outer or no - equei join
(a) left outer
(b) right outer
(c) full outer
(3) Cartision or cross join
(4) Self join
(5) Natural join
| Is This Answer Correct ? | 2 Yes | 0 No |
what is cursor and its type, what is ref cursor write a syntax to pass ref cursor into procedure out fucntion and call the procedure
What is normalization and types of normalization?
22 Answers Etisbew, F-TEC, Microsoft, TechProcess,
Can a table contain multiple foreign key’s?
Is json a nosql?
What version is sql?
What is before trigger?
diff b/w sub query and co-relater query?
What do you mean by stored procedures? How do we use it?
What is cursor status?
What is the difference between partitioning and sharding?
3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);
What is scalar function 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)