Example:
Database A:
Humans
ID
Name
Database B:
Pets
ID
Owner_ID
Name
I would like to know the names of all humans with pets named Ajax.
SELECT A.Humans.Name
FROM A.Humans
JOIN B.Pets ON B.Pets.Owner_ID = A.Humans.ID
WHERE B.Pets.Name = 'Ajax'
Is it possible to express this in Sequel?
Thanks for all earlier rapid answers!
/Christer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---