Maple products rose to $517.5 million on higher output as honey output and number of bee colonies declined.
Access to cannabis stores increased as the number of retail stores jumped from 217 in March to 407 in July.
Machinery, equipment and supplies subsector reported the largest increase.
Economists on average had expected a gain of 0.6%.
Statistics Canada says changes in distribution of men and women in occupations was key to the smaller wage gap.
Exceeds economists’ forecasts, down in 11 industries representing two thirds of total sales.
Imports rose 1.2% to $50.9 billion with gains in six of 11 sectors.
Analysts say trade-driven boost was likely a temporary factor, particularly with weakening global economic conditions.
Result topped the 0.2% gain that had been expected
Smaller-than-expected deficit came as exports rose 1.3% for the month.
Growth came as sales gained in six of the seven subsectors.
Sales were up in 12 of 21 industries, representing 56.4% of the sector.
Manufacturing and construction sectors had the lowest shares, at 14.4% and 12.8%.
Increase outpaces US job creation, figures show an increase of just 20,000 new positions.
Growth in July means the sector had a good third quarter.