Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT b.`name`
- FROM `keys` a JOIN `users` c ON a.`ownerId` = c.`id`
- JOIN `products` b ON a.`productId` = b.`id`
- WHERE c.`username` = ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement