2012-05-25 71 views

回答

0

left join表和使用ifnull改變null

select i.cid, i.ip_src, i.ip_dst, ifnull(t.tcp_sport, '') as tcp_sport, ifnull(t.tcp_dport, '') as tcp_dport 
from ipview i 
left join tcpview t on i.cid = t.cid 
相關問題