有两个数据表 t_user 和 t_qxb 分别用来存取用户密码和权限.
请问这句话是什么意思
SQL.Add('select * form T_user a, t_qxb b where (a.用户='''+Name+''') and
(a.密码='''+password+''') and (a.用户=b.用户名) order by b.菜单项';这里面的a,b 是什么意思呀?
请问这句话是什么意思
SQL.Add('select * form T_user a, t_qxb b where (a.用户='''+Name+''') and
(a.密码='''+password+''') and (a.用户=b.用户名) order by b.菜单项';这里面的a,b 是什么意思呀?
等同于:
SQL.Add('select * form T_user, t_qxb where (T_user.用户='''+Name+''') and
(T_user.密码='''+password+''') and (T_user.用户=t_qxb .用户名) order by t_qxb .菜单项';
T_user =a, t_qxb =b