Top "Join" questions

A JOIN is a general operation in relational algebra for a combining operation on two or more relations in a relational database system.

MySQL - Selecting data from multiple tables all with same structure but different data

Ok, here is my dilemma I have a database set up with about 5 tables all with the exact same data …

sql mysql join mysql-error-1052
MySQL ON vs USING?

In a MySQL JOIN, what is the difference between ON and USING()? As far as I can tell, USING() is …

mysql join using
Can we use join for two different database tables?

Can we use the join operation for two tables from different databases? If yes, how do I do it? Both …

sql join
JPA Criteria API - How to add JOIN clause (as general sentence as possible)

I am trying to construct queries dynamically, and my next target is add JOIN clauses (I don't know how can …

java api join jpa-2.0 criteria-api
Explicit vs implicit SQL joins

Is there any efficiency difference in an explicit vs implicit inner join? For example: SELECT * FROM table a INNER JOIN …

sql join
Joining pairs of elements of a list

I know that a list can be joined to make one long string as in: x = ['a', 'b', 'c', 'd'] …

python string list join
How to return rows from left table not found in right table?

I have two tables with similar column names and I need to return records from the left table which are …

sql join left-join outer-join
FULL OUTER JOIN vs. FULL JOIN

Just playing around with queries and examples to get a better understanding of joins. I'm noticing that in SQL Server 2008, …

sql sql-server-2008 tsql join
Inner join of DataTables in C#

Let T1 and T2 are DataTables with following fields T1(CustID, ColX, ColY) T2(CustID, ColZ) I need the joint …

c# join datatable inner-join
SQL select join: is it possible to prefix all columns as 'prefix.*'?

I'm wondering if this is possible in SQL. Say you have two tables A and B, and you do a …

sql join