我有一个在另一个表上有连接的查询:
select * from tbl_scales s
join tbl_recipes r on r.category_id = s.product_id
它显示这样的冗余数据,
scale_id r_id date recipe_name
1 1 2012-05-20 Cheese Bread
6 1 2012-05-21 Cheese Bread
1 1 2012-05-20 Spanish Bread
6 1 2012-05-21 Spanish Bread
3 4 2012-05-20 Pancake
8 4 2012-05-21 Pancake
1 1 2012-05-20 Pandesal
6 1 2012-05-21 Pandesal
我不知道该怎么做..有人可以帮助我吗?