select category.name,product.* from product join category on product.category_id=category.id where product.category_id='2'