Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT i.Name as 'Item Name'
- FROM UserGameItems ugi
- JOIN UsersGames ug
- ON ugi.UserGameId = ug.Id
- JOIN Items i
- ON ugi.ItemId = i.Id
- WHERE GameId =
- (
- SELECT id
- FROM Games
- WHERE Name = 'Safflower'
- )
- UNION
- SELECT i.Name
- FROM Items i
- WHERE i.MinLevel IN(11,12)
- ORDER BY i.Name
Advertisement
Add Comment
Please, Sign In to add comment