C
chinahx
Unregistered / Unconfirmed
GUEST, unregistred user!
sqlDeleteEmployee := 'select department_ID from Employee_Department where '
+'employee_ID = (select ID from employees where '
+'loginname = '''+strSelectedEmployee+''') and department_ID = '
+'(select ID from departments where '
+'Department_name = '''+strSelectedDepartment+''')';
我一直对sql语句不会用,请帮忙检查一下这句话大概错误出现在哪里?谢谢
提示错误:
Token:‘nested select’
+'employee_ID = (select ID from employees where '
+'loginname = '''+strSelectedEmployee+''') and department_ID = '
+'(select ID from departments where '
+'Department_name = '''+strSelectedDepartment+''')';
我一直对sql语句不会用,请帮忙检查一下这句话大概错误出现在哪里?谢谢
提示错误:
Token:‘nested select’