mysql full outer join

# Full outer join: the master from the intersection table + + primary table from the table there is no main table from the table, but regardless of the master from the table

SELECT
    b.*,bo.*
FROM
    beauty b
FULL OUTER JOIN
    boys bo
ON
    bo.id=b.boyfriend_id;

Guess you like

Origin blog.51cto.com/14437184/2437958