有四张表
找出ap_address , user_name(一条SQL语句实现)
各位老哥能否帮忙看这个SQL语句怎么写,非常感谢。
select ap_address, user_name from 日志表 t1, 用户表 t2, 学生表 t3, ap表 t4 where t1.mac_address=t2.mac_address and t2.user_id=t3.user_id and t1.ap_name=t4.ap_name;