Sales of wholesale goods rose by a less-than-expected 0.2 per cent in June, as a weaker automotive sector held back growth, Statistics Canada said Friday.

If the auto sector had been excluded, sales would have risen by 0.6 per cent.

Statistics Canada said wholesale sales of motor vehicles fell 1.9 per cent in June. Sales of auto parts fell by a smaller 0.5 per cent.

"These declines were attributable in part to decreased demand in North America," StatsCan said in a statement. "Exports of both trucks and cars declined for a third consecutive month."

The figures mean that wholesale sales fell by 0.6 per cent in the three-month period ending June 30 — the first quarterly decline in this area in four years. 

"While most indicators for June were weaker than in May, the tally for the second quarter still points to a decent quarter for overall growth," said a commentary from RBC Economics.

"In constant dollar terms, wholesale sales increased at a 2.9 per cent annualized rate from April through June, slower than the first-quarter's gain but still contributing to the quarterly growth rate."