AND r.prov=c.prov AND
r.cap=c.cap AND r.CodRappr=c.CodRappr;
Regards,
Gavin Towey
-Original Message-
From: Deviad [mailto:dev...@msn.com]
Sent: Monday, August 24, 2009 6:27 PM
To: mysql@lists.mysql.com
Subject: Re: Natural Join Issue: column names are equal but doesn't work anyway
On Tue, Aug 25, 2009 at 6:55 AM, Deviad wrote:
> Hello,
> I have been training for a test on Database Design and MySQL.
> The following is inside a file we have to run before starting to code
> what the excercises require us to.
> Call the file as you wish and run it if it helps to understand the
Hi again,
since I'm not someone who gives up easily, I have restyled that old code
(actually is from an example back of my teacher into 2002, I saw that
she changed a bit her way to code this stuff), I restyled the code just
to be sure it isn't some parsing issue or whatever.
http://pastebin.com/f5
Hello,
I have been training for a test on Database Design and MySQL.
The following is inside a file we have to run before starting to code
what the excercises require us to.
Call the file as you wish and run it if it helps to understand the
reason behind my problem.
---
DROP
Thanks, adding the indexes worked beautifully. I'll go knock my head on
the desk now. Thanks for your time :)
Ed
Edward Ritter said the following on 7/20/2004 1:08 PM:
Thanks, I'll take a look at that. The id isn't unique, so that's why I
added the idx column.
Does my query look okay beyond tha
Thanks, I'll take a look at that. The id isn't unique, so that's why I
added the idx column.
Does my query look okay beyond that? I'll add the additional indexes and
try again.
Ed
Garth Webb said the following on 7/20/2004 1:03 PM:
What is the 'idx' for when you already have an 'id' column? Al
What is the 'idx' for when you already have an 'id' column? Also, you
need an index on the column that you are joining on; having a single
indexed column on a table doesn't automatically improve all queries
against that table. Put an index on the 'email_address' fields of both
tables. You'll ne
Stefan:
I added an index column to each after I imported. Here's a listing of
the two tables.
la_entire
++-+--+-+-++
| Field | Type| Null | Key | Default | Extra |
++-+--+-+
I would expect that the speed problems are due to missing indices. Did you do
proper indexing? If unsure, post your table structures and query.
Stefan
Am Tuesday 20 July 2004 17:45 schrieb Edward Ritter:
> I've got a task that's gonna require me to compare one table to another
> and remove the ro
I've got a task that's gonna require me to compare one table to another
and remove the rows from the first table that are found in the second
table that match email_address.
I'm running 4.0.20a-nt-log. The first table has 10 colomns and about 50K
records, and the second table has 46 columns and
Conveyor:
Serial
10
11
Support
SerialCost
1100
1150
10001200
10001250
Accessory
SerialCost
150
175
10001100
10001200
Desired Result
SerialSupportCostAccessoryCost
10250
Hi -
I'm running 4.0.18, so I can't use subqueries. I need to run a query to
get the sum of costs from multiple tables for a given master table.
What I have right now which is clearly not going to work is:
SELECT conveyor.serial, SUM(conveyorsupport.cost),
SUM(conveyoraccessories.cost) from (
Erica L Ridley <[EMAIL PROTECTED]> wrote:
> I need help with rewriting a sql query. Nested queries that work in MS
> databases apparently do not work in MySQL databases. Here is what I need
> in MS query pseudo code:
>
> SELECT table1.myfield1, table2.myfield2
> FROM table1, table2
> WHERE ta
I need help with rewriting a sql query. Nested queries that work in MS
databases apparently do not work in MySQL databases. Here is what I need
in MS query pseudo code:
SELECT table1.myfield1, table2.myfield2
FROM table1, table2
WHERE table1.key=table2.key AND myfield1="something"
AND myfiel
If you want to restrict the tuples you get from 'broadcasts' use AND
instead of WHERE.
Cheers
/rudy
-Original Message-
From: gerald_clark [mailto:[EMAIL PROTECTED]
Sent: dinsdag 7 oktober 2003 15:42
To: Wayne Helman
Cc: [EMAIL PROTECTED]
Subject: Re: Multiple Join Issue
Lea
Leave off the 'WHERE e.Game_ID is NULL'
Wayne Helman wrote:
How would one join multiple table and selected all
records from a joined table whether they exist OR not?
I can get the records if they exist in a second table
and I can get the records if they don't exist, but is
there a way to combine
How would one join multiple table and selected all
records from a joined table whether they exist OR not?
I can get the records if they exist in a second table
and I can get the records if they don't exist, but is
there a way to combine the two?
I have, for example, a statement like this (selects
17 matches
Mail list logo