SELECT t_ID,t_date_last,t_content,sub_ID,sub_name,u_name,u_pic FROM t1,sub2,user3 WHERE t_type = 't' AND t_status = '0' AND t_sid = sub_ID AND u_ID = t_user ORDER BY t_date_last DESC LIMIT 30
SELECT t.t_ID,t.t_date_last,t.t_content,t.sub_ID,s.sub_name,u.u_name,u.u_pic FROM t1 t LEFT JOIN sub2 s ON s.sub_ID=t.t_sid LEFT JOIN user3 u ON u.u_ID=t.t_user WHERE t_type = 't' AND t_status = '0' ORDER BY t.t_date_last DESC LIMIT 30