What is the structure of the two tables involved in the query ? You only seem to have given one here.