Can you explain the types of Joins that we can have with Sql
Server?
Answers were Sorted based on User's Feedback
Answer / guest
There are three types of joins: Inner Join, Outer Join,
Cross Join
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / hokar
In some situations we may need to pull data from one or
more related tables at a time. In such cases we use JOINs
to extract data from more than one table at a time and
display the information in a single result set.
There are several types of joins.(1)Inner Join
(2)Outer
Join------Right Outer Join,Left Outer Join, Full Outer Join
Inner join is used to link tables on a common column and
return records that match in those columns.
Right Outer Join displays all records from the table on
right most side of the JOIN clause whether or not there are
matching records in the Left table.
Left Outer Join displays all records from the table on the
left most side of the JOIN clause whether or not there are
matching records on the Right table.
Full Outer Join diplays all records from both right and
left tables.
Example: If we have a HR database with employee information
table, salary information table, sick days table etc, and
if we want to know which employee
have used more than 15 sick days, we would need the
information form sick days table and employee information
table in a single result set.
| Is This Answer Correct ? | 6 Yes | 1 No |
How to provide column names in insert statements in ms sql server?
How do I change my passwords (database, LDAP, and so on) without causing an outage?
What are SQL Jobs, please mention the use of it and how to create them.
What is log cache in sql server?
How can sql server instances be hidden?
Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure?
How to rename an existing column with the "sp_rename" stored procedure in ms sql server?
What is etl - extraction, transformation, and loading?
in tabase table having a column in it empname field is there which having 5 duplicate values is there i want deleted all the duplicates i want showing only one name only.
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?
Can anyone explain difference between Database, Data warehouse and Data mart with some example?````
How check triggers in sql server?
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)