Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. SELECT
  2. t.team_Name,
  3. p1.name + ' ' + p1.surname AS '1st_player_name',
  4. p2.name + ' ' + p2.surname AS '2nd_player_name'
  5. FROM
  6. team t
  7. INNER JOIN
  8. player p1 ON t.player1_id = p1.id
  9. INNER JOIN
  10. player p2 ON t.player2_id = p2.id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement