一、
select distinct t.brand_headword from tbb_brand t
二、
"select a.* from tbb_brand a right join "
"select min(a.brand_id) id from tbb_brand a group by brand_headword) b on b.id = a.brand_id "
"where a.brand_id is not null "
三、
left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录
right join(右联接) 返回包括右表中的所有记录和左表中联结字段相等的记录
inner join(等值连接) 只返回两个表中联结字段相等的行