Mysql
 sql >> Database >  >> RDS >> Mysql

SQL LEFT-JOIN su 2 campi per MySQL

select a.ip, a.os, a.hostname, a.port, a.protocol,
       b.state
from a
left join b on a.ip = b.ip 
           and a.port = b.port