Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

What are Database Joins? What are types of joins?

 
webmaster forum
Activity
0%
 
New Coder
Posts: 49
Topics: 14
September 15, 2008, 03:30:47 AM

Database joins conditions are very useful in Sql Server. Joins returns the Data in very effective manner with high performance. I like to work with joins. SQL has Inner Join, Left Outer Join, Right Outer Join , Full Join, Equi join and self join.
« Last Edit: July 15, 2011, 08:48:42 AM by Admin »
 
webmaster forum
sd3189541  Offline
Activity
0%
 
New Coder
Posts: 44
Topics: 0
March 28, 2011, 09:30:21 PM

I want some example of join. If you have any example then please mention it.
« Last Edit: April 10, 2011, 09:46:24 PM by Admin »
 
webmaster forum
mak14317  Offline
Activity
0%
 
Skilled Coder
Real name: Janne
Location: california
Gender: Male
Age: 26
Posts: 108
Topics: 1
WWW
April 29, 2011, 02:34:29 AM

Ex for joins. . . . . . . . . . . . .


   SELECT cFirstName, cLastName, orderDate
        FROM customers INNER JOIN orders
          USING (custID);

herbal vaporizer
Happy vappy vaporizer
Eclipse Vape
Ivape
 
webmaster forum
cipl  Offline
Activity
0%
 
New Coder
Posts: 25
Topics: 0
May 07, 2011, 02:02:56 AM

I would like to share example of left outer join.   
Code:
SELECT CITIES.COUNTRY, CITIES.CITY_NAME, REGION
FROM Countries
LEFT OUTER JOIN Cities
ON CITIES.COUNTRY_ISO_CODE = COUNTRIES.COUNTRY_ISO_CODE
WHERE REGION = 'Asia'

Network Management Service
 
webmaster forum
Activity
0%
 
Regular Coder
Gender: Male
Age: 24
Posts: 60
Topics: 10
July 15, 2011, 02:09:17 AM

Example of inner join

SELECT * FROM CATEGORIES C INNER JOIN
PRODUCTS P ON P.CATEGORYID = C.CATEGORYID

Payday loan
 
webmaster forum
Life Is Good!
Activity
0%
 
Professional Coder
Gender: Female
Posts: 242
Topics: 3
WWW
July 18, 2011, 09:09:57 AM

thanks for the information.. I know a little about joins and i think this is informative enough..

Affordable Custom Web Design Services
 
webmaster forum
kellylsn  Offline
Activity
0%
 
Professional Coder
Posts: 229
Topics: 7
July 21, 2011, 01:19:15 AM

Joins are used to join the two or more tables by using the relationship between certain columns.
In Sql there are following types of joins are available-
Join
Left join
Right join
Full join

Payday Loan
Online Easy Loans
 
webmaster forum
Activity
0%
 
Regular Coder
Posts: 93
Topics: 34
August 18, 2011, 11:55:55 PM

HI,
nice ans or solutions given by you. it is nice and useful also .
Thanks for share.

SEO Company
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page December 16, 2011, 02:58:32 AM