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

come scrivere questa query di auto join in mysql

SELECT pp.products_id
    FROM products p
        INNER JOIN products pp
            ON p.model_num = pp.master_model_num
    WHERE p.products_id = '1'