2011年1月20日 - SELECT g.link_id, ( SELECT MAX(h.host_id) FROM guest_data d INNER JOIN host_data h ON d.guest_nm=hhost_nm GROUP BY ...
stackoverflow.com