Guest User

Untitled

a guest
Jul 16th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. DECLARE @temp int(20)
  2. SET @temp = '''select emp_id from employees'''
  3.  
  4. select emp.emp_id,emp.name,team.team_name from employees emp join team team on emp.team_id=team.id and emp.id in (@temp)
Add Comment
Please, Sign In to add comment