On Thu, Aug 19, 2010 at 19:46, Thom Brown <thom@linux.com> wrote:
> Try this:
>
> SELECT components.owner_id
> FROM components
> INNER JOIN component_images ON components.id = component_images.components_id
> WHERE component_images.images_id = %
> LIMIT 1
Magic!
Thank you.
--
- Rikard