List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:February 29 2000 5:49pm
Subject:Re: LEFT JOIN/JOIN question
View as plain text  
Graeme B. Davis writes:
 > I have a straight join that works:
 > 
 > SELECT m.sbj, r.assignedto FROM mails AS m, remedy.remedy AS r WHERE
 > (m.type='' OR m.type IS NULL) AND m.ticketnum=r.ticket ORDER BY m.date DESC;
 > 
 > But I can't turn this into a LEFT JOIN for some reason.
 > 
 > Is this how I would do it? :
 > 
 > SELECT m.sbj, r.assignedto FROM mails AS m, remedy.remedy AS r LEFT JOIN
 > remedy.remedy ON r.ticket=m.ticketnum WHERE (m.type='' OR m.type IS NULL)
 > AND m.ticketnum=r.ticket ORDER BY m.date DESC;
 > 
 > (for this particular query, I get:
 > ERROR 1114: The table 'SQL3f_0' is full
 > )
 > 
 > Any ideas?
 > 
 > Thanks,
 > Graeme
 > 
 > p.s.  remedy is the db and it has a table called remedy as well


Hi!!

Start your MySQL server with --big-tables support or set BIG_TABLES
run time option. 

There are other options, but available under 3.23.

You are eveidently using 3.22.

Regards,

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped     |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
Thread
Compilation problemsSr. Jim Brown29 Feb
  • LEFT JOIN/JOIN questionGraeme B. Davis29 Feb
    • Re: LEFT JOIN/JOIN questionsinisa29 Feb
  • Re: Compilation problemssinisa29 Feb
  • Re: Compilation problemssasha29 Feb
  • Re: LEFT JOIN/JOIN questionGraeme B. Davis29 Feb
  • Re: LEFT JOIN/JOIN questionGraeme B. Davis29 Feb