Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

join

0
votes
0 answers
46 views

Postgres - Multiple joins is causing my query to return incorrect data

I have three tables in my database. Their schema is basically: books: id | book_title books_tags: id | book_id | tag_id books_votes: id | book_id |…
asked June 24, 2011 8:22 pm CDT
Tony
2
votes
1 answer
36 views

MySQL query for multiple tables being secondary tables multiple items ?

I have a query where I currently get information from 2 tables like this: SELECT g.name FROM site_access b JOIN groups g ON b.group_id = g.id WHERE…
asked June 24, 2011 2:43 pm CDT
Prix
0
votes
2 answers
32 views

UPDATE on INNER JOIN

I realize that this question has be asked several times - I have tried most of the "answered" questions, but none seem to be working. I have an RSVP…
asked June 23, 2011 9:12 pm CDT
joolz84
0
votes
2 answers
33 views

MySQL join 1 record in table A to many in table B as a single row

I want to query across two tables: members and payments . One member record could join with many payments. However, I need each payment record to be…
asked June 23, 2011 3:40 pm CDT
Ted Avery
0
votes
4 answers
46 views

MySQL COUNT() causing empty array() return

MySQL Server Version: Server version: 4.1.14 MySQL client version: 3.23.49 Tables under discussion: ads_list and ads_cate. Table Relationship:…
asked June 23, 2011 1:13 pm CDT
OldWest
1
vote
2 answers
31 views

MySQL join - three tables, returning null where empty

I've got the following schema: phrase (in U.S. English): translation: code_value: ---------------------- -----------------------------------------…
asked June 23, 2011 11:36 am CDT
normalocity
0
votes
0 answers
41 views

Combine MapReduce result with data

How could i combine with map/reduce these two files: File1. Data. 1 name:foo1,position:bar1 2 name:foo2,position:bar2 3 name:foo3,position:bar3 4…
asked June 23, 2011 9:10 am CDT
user812366
0
votes
1 answer
31 views

MySQL Left join - odd problem

Running mySQL Community Server 5.5.13 Using the following query: select t1.f1, t2.f1, t2.f2 from t1 left join t2 on (t1.f3 = t2.f3) If the left join…
asked June 23, 2011 8:50 am CDT
jam
1
vote
3 answers
28 views

[MYSQL] Select max using join not returning rows

I'm stucked in this MYSQL SELECT: SELECT episode.name FROM tv.episode JOIN tv.show ON episode.show_id = show.id WHERE show.id = 73545 AND…
asked June 23, 2011 2:44 am CDT
Peibol
0
votes
3 answers
26 views

Simple joins between 2 mysql tables returning all results every time.. Help!

I just imported a large amount of data into two tables. Let's call them shipments and returns. When trying to do a simple join (left or inner) based…
asked June 22, 2011 3:28 pm CDT
JoshG
1
vote
2 answers
32 views

MySQL: SELECT with LEFT JOIN

how can I join two tables and make the second optional? SELECT t1.title,SUM(t2.seconds) AS seconds FROM operation t1 LEFT JOIN workhours t2 ON t1.id…
asked June 22, 2011 11:02 am CDT
Billy
0
votes
3 answers
33 views

How do i get the member count using joins

here is my database structure members table member_Id membertomshiptable membertomship_startdate membertomship_enddate member_id mshipstatustype_id…
asked June 22, 2011 10:36 am CDT
user682417
0
votes
2 answers
33 views

MySQL LEFT JOIN do not return all results

I have a query that JOINs some tables to get a list of products including prices, images, country etc. "product_images" table can have zero or more…
asked June 22, 2011 8:46 am CDT
Cudos
-2
votes
2 answers
24 views

How do i get the number of members on status name

I have a member Table with member_Id a mmship table with columns mmshipstart date and member_Id and mshipstatus_Id another table mshipstatustype…
asked June 22, 2011 6:53 am CDT
user1
3
votes
2 answers
31 views

Difference between these two mysql queries?

I thought these two queries were the same. But the results turned out the first query's constraints starting with the four ANDs worked, many wrong…
asked June 21, 2011 4:56 pm CDT
WilliamLou
0
votes
3 answers
29 views

LEFT JOIN ALL results

Hello guys I have a problem with a query and left join I have 2 tables products and characteristics I know some required characteristics with id…
asked June 21, 2011 6:37 am CDT
David
1
vote
5 answers
28 views

Regarding JOIN query in Mysql

Here is my database structure: payment option: mshiptype_id paymopt_Id membertopaymentoption: member_Id paymopt_Id mshiptypes mshiptype_name…
asked June 21, 2011 6:27 am CDT
user682417
0
votes
0 answers
28 views

MySQL Join Optimisation: Improving join type with derived tables and GROUP BY

I am trying to improve a query which does the following: For every job, add up all the costs, add up the invoiced amount, and calculate a…
asked June 21, 2011 5:21 am CDT
Nicholas
0
votes
0 answers
24 views

Mysql - Need to get latest of table A when referenced from table B

I'm building a bug tracker type tool for kicks. I'm having probs with a small prob relating to version control of my data. I have a table 'action'…
asked June 20, 2011 11:50 am CDT
Beertastic
0
votes
3 answers
31 views

Mysql left join repeating rows

I am working on a databese of dictionary with 4 tables designed like words wordid | lemma senses wordid | synsetid synsets synsetid | definition…
asked June 20, 2011 8:53 am CDT
mustafa
Pages : 1 | 2 | 3 | 4 | 5 > [26]
514

join

Tagged: join
Related Tags
mysql × 466
sql × 157
php × 81
query × 62
select × 39
database × 28
left-join × 25
sqlite × 23
subquery × 19
postgresql × 18
left × 13
update × 12
union × 12
table × 12
performance × 11
count × 10
group-by × 9
inner × 9
index × 6
inner-join × 6
self-join × 6
multiple × 5
merge × 5
view × 5
sum × 5
arrays × 5