473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

what is the difference between inner join and equi join?

i need the answer for this question,in inner join we aren't using where clause in eqi join we are using where clause
can u give me the answer?
Dec 21 '12 #1
1 4911
Rabbit
12,516 Expert Mod 8TB
An equi join is a join which uses only equality comparisons. There is no requirement that an equi join uses the WHERE clause. I don't know where you got that requirement from. Both of the following examples are equi joins.

Expand|Select|Wrap|Line Numbers
  1. SELECT *
  2. FROM employee
  3. JOIN department ON 
  4. employee.DepartmentID = department.DepartmentID;
Expand|Select|Wrap|Line Numbers
  1. SELECT * 
  2. FROM employee, department 
  3. WHERE employee.DepartmentID = department.DepartmentID;
Dec 21 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Charles Haven | last post by:
Hello all, Is it possible to LEFT JOIN a table to itself? I want to see all records in a table where the year of the sales date is 2003 and where the salesman sold an item to a customer to...
3
by: mheydman | last post by:
I apologize if this has been asked before- I searched google but could not find a concrete answer. I recently inherited a database whose t-sql code is written in a format that I find difficult...
1
by: phundal | last post by:
one main diff i know that procedures are to be called but triggers are called automatically what else is the difference between them??????? kindly help
6
by: Zuhaib Hyder | last post by:
SELECT TOP 5 tbltopic.subject, tbltopic.Topic_ID, tbltopic.forum_id FROM tblTopic, tblthread WHERE tbltopic.forum_id=32 and tbltopic.topic_id=tblthread.topic_id ORDER BY tblthread.message_date...
1
karthickkuchanur
by: karthickkuchanur | last post by:
1). Im looking at an example here: SELECT P.PublisherCode, P.PublisherName, B.BookCode, B.BookTitle FROM Publisher P LEFT INNER JOIN Book B ON P.PublisherCode = B.PublisherCode how this is...
9
by: shapper | last post by:
Hello, I am used to SQL but I am starting to use LINQ. How can I create Left, Right and Inner joins in LINQ? How to distinguish the different joins? Here is a great SQL example:...
2
anfetienne
by: anfetienne | last post by:
What is the best sql join method to use when i want to join upto 4 tables that all have the same columns?
3
by: jagadeesh kumar | last post by:
While joining like the below, select * from EMPLOYEE e , position p where e.empid=p.empid select * from EMPLOYEE e inner join position p where on e.empid=p.empid performance wise, which...
7
Fspinelli
by: Fspinelli | last post by:
Hi All! I have just received thousands of records which were supplied to me all on one excel sheet. So I imported the entire spreadsheet into one table of Access and added an ID field set on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.