STANFORD, Calif. — Sam Gaviglio scattered four hits over eight innings and Kavin Keyes drove in the game's only run in the first inning as ninth-ranked Oregon State eked out a 1-0 win over No. 17 Stanford Friday night at Sunken Diamond.

STANFORD, Calif. — Sam Gaviglio scattered four hits over eight innings and Kavin Keyes drove in the game's only run in the first inning as ninth-ranked Oregon State eked out a 1-0 win over No. 17 Stanford Friday night at Sunken Diamond.

Keyes drove an 0-2 pitch from Stanford starter Mark Appel up the middle with two outs in the first, driving in Michael Miller from second for the game's lone run. It pushed the Beavers' winning streak to a seven games and improved their record to 25-7 and 6-1 in Pacific-10 Conference play.

Gaviglio, who graduated from Ashland High in 2008, went eight full innings in his ninth start of the season and was spectacular, limiting Stanford to four hits and two walks to improve to 7-1. He struck out eight in his eighth quality start of 2011.

Gaviglio allowed just three runners to reach or get past second base. He was threatened in the fourth when Stanford loaded the bases with two outs, but the right-hander got Stanford's No. 8 batter, Lonnie Kauppila, swinging on a 2-2 count.

The junior lowered his earned run average to 1.19 and has 68 strikeouts in 681/3 innings.

Sophomore Tony Bryant came on for his fourth save of the season in the ninth and struck out all three batters he faced.

Senior Michael Miller led the Beavers with three hits, and was followed by Jared Norris, who had two of his own. Miller opened the game with a single to left and moved to second on a sacrifice bunt by Ryan Barnes.

Danny Hayes then flew out to left for the second out of the first inning, then watched as Norris drew a walk to put runners on first and second, setting up Keyes for his game-winning RBI.

Appel took the loss to drop to 2-4 this season. The right-hander allowed seven hits and a run over 62/3 innings. He struck out six and walked two.

The Cardinal dropped to 16-10 on the year and 3-4 in league play.

Oregon State and Stanford continue their three-game series today at Sunken Diamond. The first pitch is scheduled for 1 p.m.