Try to delete the index (drop index) of the table! I had the problem and solved this this way.
regards, Andreas On Samstag, Februar 9, 2002, at 11:41 Uhr, DL Neil wrote: > Keith, > >> I have the below query that returns the correct records but the >> POINTFUND.description field is all NULL while it has values in the=20 >> table. >> Any idea why? Thanks. >> >> SELECT >> >> RACES.RACE_ID, >> RACES.sequence, >> TYPES.typelong, >> SCHEDULE.event, >> SCHEDULE.date, >> PARTY.lname, >> POINTFUND.description >> >> FROM >> >> TYPES LEFT JOIN RACES ON RACES.TYPE_ID =3D TYPES.TYPE_ID >> LEFT JOIN POINTFUND ON POINTFUND.TYPE_ID =3D TYPES.TYPE_ID, >> SCHEDULE, >> PARTY >> >> WHERE >> >> RACES.SCHEDULE_ID =3D SCHEDULE.SCHEDULE_ID AND >> PARTY.PARTY_ID =3D SCHEDULE.TRACK_ID >> >> ORDER BY >> >> SCHEDULE.date, PARTY.lname > > > Obviously the syntax of the SQL command is ok, else the RDBMS would=20 > have told you. The answer may lie in the > definitions of the races, types, and pointfund tables; or in the data=20= > contained in the join-ing fields (neither > of which are shown here). > > Two suggestions: > 1 simplify the query to deal with pointfund and one other first, then=20= > add another tbl/join, etc, until you have > rebuilt the entire query - your formatting is 'clean' and allows the=20= > insertion of # comment symbols at the > beginning of lines to remove/return then easily (and without loads of=20= > typing/retyping) > 2 have you tried running EXPLAIN to see what MySQL thinks of it all? > > Let us know how you get on! > =3Ddn > > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <mysql-unsubscribe- > [EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > ----------------------------------------- Andreas Habereder Kirchenstr. 17e 81675 M=FCnchen private: [EMAIL PROTECTED] fax: +49 1212 5 107 37 317 mobile: +49 172 838 7771 ----------------------------------------- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php