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

database join

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
2 answers
40 views

MySQL Query Two Table Join

having a little trouble with this query. I have two tables ... Account - ResourceID (int) AccountID (int) (unique auto-inc) Resource - TextName…
asked June 17, 2011 12:22 pm CDT
Brian Patterson
0
votes
4 answers
34 views

SQL Query: Joining two tables where entity of the first table has no, or multiple entries in other table

I have to database tables, where entities of the first Table may or may not have associated entries in the second table: Table 1 Table 2…
asked June 10, 2011 6:36 am CDT
donneo
1
vote
2 answers
32 views

Is it possible to get information from different database with inner join having database in SQL and mySql?

I have my project A with mySql database and I have another project B with msSql. I have connected the database from A and fetched data from B. But…
asked June 10, 2011 2:17 am CDT
user75472
0
votes
3 answers
28 views

Why is this fairly simple join not working?

I'm using this query to fetch all tasks with a specific tag in a HABTM relationship. However for some reason it is failing to attach relevant tags…
asked June 8, 2011 4:23 am CDT
Dunhamzzz
0
votes
5 answers
31 views

MySQL: nested select speed problem

I have follow tables: |ELEMENTS| ------------ |id_element| |id_catalog| |value| |CATALOG| ------------ |id_catalog| |catalog_name| |show| |status| I…
asked June 8, 2011 12:36 am CDT
Anthony
0
votes
1 answer
31 views

Struggling to join multiple tables correctly to receive correct data

The situation: I have MySQL 5. I am trying to produce a report of companies and some profit details. Each company has jobs that we do for them. Each…
asked June 7, 2011 5:29 am CDT
Jleagle
0
votes
1 answer
38 views

Join giving two rows instead of one

Hi, I have this join: select first_name, last_name, photo_path, private_messages, mid_thumb, bio_blurb, user_email from users left join member_photo…
asked May 29, 2011 10:36 pm CDT
Genadinik
2
votes
1 answer
42 views

PostgreSQL Conditional Join

Hi, Supposed I have the following tables -- smallville=# create table contacts (name varchar(16), address_id int); CREATE TABLE smallville=# create…
asked May 29, 2011 9:42 am CDT
Jerry
0
votes
1 answers
38 views

Use class to represent foreign key / join table in Android SQLite?

I need to use classes to represent entities in database, here are some information: === TABLEs === SHOP shop_id(primary) name owner FAVOURITES LIST…
asked May 21, 2011 12:42 am CDT
hzxu
0
votes
4 answers
36 views

MySQL Data from 3 tables

Hello, I have three MySQL tables which relate to a messaging system. The schema and sample data is shown below for each table relating to my…
asked May 20, 2011 1:40 pm CDT
BenM
0
votes
1 answers
42 views

Couchdb map reduce, how to output less rows

Lets say you have 2 doc types.... customers and orders. Customer doc contains basic info... name, address etc. and then orders contain all the order…
asked May 19, 2011 4:17 pm CDT
Matt
1
vote
2 answers
35 views

Mysql update, insert, delete with joins

hi guys, I know that you can do join statements on SELECT, but can you also do joins using UPDATE, INSERT, and DELETE statements so that rows from…
asked May 13, 2011 5:13 pm CDT
kamikaze_pilot
0
votes
1 answer
28 views

How can I do this Fulltext search within an INNER JOIN in MySQL?

I have two tables that I'm joining (in order to get the username from, I'm joining them both on user_id). Here is my Accounts table structure:…
asked April 28, 2011 1:28 am CDT
bob_cobb
2
votes
2 answers
35 views

Find number of joins by a reference table

Apologies if the title is ambiguous, but I could not figure out a good way to title this problem. In my database, I have a table J that joins tables…
asked April 21, 2011 1:26 pm CDT
istrasci
1
vote
4 answers
36 views

Is there a mySQL frontend that has an interface for joins?

Are there any mySQL frontends, like phpmyadmin, that has a graphical interface for joins? I know you can run saved queries (which may include joins)…
asked April 20, 2011 8:52 pm CDT
Chris
0
votes
4 answers
45 views

Join operation duplication

Let's imagine we have two tables: Users (UserId, UserName, UserPhoto) and Articles (ArticleId, UserId, ArticleText). Now we execute inner join query…
asked April 17, 2011 9:41 am CDT
Idsa
0
votes
1 answer
37 views

MySQL Join on 3 Tables

Hey Guys, i have a problem and at that point no clue or starting point how to fix: I have three Tables with the following fields (i have limited to…
asked March 28, 2011 10:27 am CDT
codeworxx
0
votes
3 answers
29 views

Problems with left outer joins

I'm pretty sure that I need to be doing left outer joins on my tables, but i'm not sure if that is 100% true or the syntax to write them in mySQL. I…
asked March 23, 2011 9:21 pm CDT
Catfish
0
votes
2 answers
43 views

Slow JOIN query with OR in WHERE statement

Here is an simple example for my problem: CREATE TABLE test1 (id SERIAL, key TEXT UNIQUE, value TEXT); CREATE TABLE test2 (id SERIAL, key TEXT…
asked March 18, 2011 9:25 am CDT
rudi-moore
Pages : 1 | 2 >
28

database join

Tagged: database + 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