SELECT tg.id,tg.name
FROM trd_goods tg LEFT JOIN trd_goods_tag_relation
tgt ON tg. id
= tgt. goods_id
this is my sql statement, if 50 pieces of data on the left and 100 pieces of data on the right, it is an one-to-many relationship. If I have always understood that left join takes the left table as the benchmark, the last data will only be 50 pieces at most, and the right table will randomly match an association. But the result in reality is 100 pieces of data. I don"t understand why the gods gave me popular science
.