Re: Query Problem with mysql
I don't quite understand what you are looking to do. Could you post some sample data for each of the tables and how you want the data returned from the query. Secondly, if I were you I would normalize that database and do away with year specific tables (buyer2005, buyer2006, good2005 etc.) I would create a new table based upon the schema of your tables and I would add a new field that will be used to hold Year value. THis seems to me to be a better approach to your problem.
Re: Query Problem with mysql
Sorry, right now i can't give you sample data. And after "deep" thinking, yes i will normalize the database.
Thanks Mark