Explain about Joins?
Answer / Ashish Kushwaha
In SQL, joins are used to combine rows from two or more tables based on a common column (key) between them. There are several types of joins:
1. INNER JOIN - Returns only the matching rows from both tables.
2. OUTER JOIN (LEFT JOIN/RIGHT JOIN) - Includes all the rows from one table and the matched rows from another table.
3. FULL OUTER JOIN - Returns all the rows when there is a match in either left or right table.
4. CARTESIAN JOIN (CROSS JOIN) - Joins every row of two tables without any conditions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Detail about query optimizer?
What structure can you implement for the database to speed up table reads?
plz tell me the new features of sqlserver2000,sqlserver2002,sqlserver2005
What is difference between line feed ( ) and carriage return ( )?
I am Having tables T1 and T2 both having same data how to check (or) compare the data in both table are same?
What is left outer join in sql server joins?
What xml support does the sql server extend?
select name of emplyoee whose total salary is 130 from following table. id name salary 1 a 100 2 b 20 3 c 50 1 a 30 2 b 70 Post the resulantant Query?
What is data compression?
How to know the NAME of the Database and SIZE of the Database at the client node in Sql Server 2005
Why I am getting this error when dropping a database in ms sql server?
What do you mean by stored techniques? How would we use it?
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)