Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.14 KB | None | 0 0
  1. SELECT b.`name`
  2. FROM `keys` a JOIN `users` c ON a.`ownerId` = c.`id`
  3. JOIN `products` b ON a.`productId` = b.`id`
  4. WHERE c.`username` = ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement