Retail giant

Wal-Mart

(WMT) - Get Walmart Inc. Report

said

same-store sales were better than expected, rising 6.9% in June.

TheStreet Recommends

The monthly comparable-store sales figure beat both the company's forecasts and analysts' estimates. Wall Street expected Wal-Mart to post a same-store sales increase of 4.7% in June, according to

Thomson Financial/First Call

. Total sales for the five weeks ended July 6 rose 14.6% to $20.5 billion from $17.9 billion in the year-ago period.

The company's Sam's Club stores reported a 7.1% increase in June same-store sales, while sales at the flagship stores rose 6.8%.

Shares of Wal-Mart gained 4.2% to $50.89 in recent

New York Stock Exchange trading.