Oakland Mayor Lionel Wilson is upset at San Francisco Mayor Art Agnos because of an apparently joking remark that came off as an insult to Oakland. When Agnos was asked what he would bet Wilson on the outcome of a Bay Bridge World Series between the Athletics and Giants, he told an East Bay television station, in apparent jest, that there was nothing in Oakland that he wanted.

But Wilson saw the interview, conducted before the Giants clinched the National League pennant, and became angry. He sent a note to Agnos expressing his feelings about the remark. When Agnos got the note, he phoned Wilson`s office.

''He called me,'' Wilson said, ''but I didn`t return his call. I was too upset, and I think I had a legitimate reason. I`ve never said anything to try and diminish San Francisco.''

After the Giants` pennant-clinching victory over the Cubs Monday, Agnos again was asked about whether he would make a bet with Wilson.

''Sure,'' he said. ''I`ll go high stakes or low stakes. If he wants to go high stakes, I`ll bet him Candlestick Park against the Oakland Coliseum. If he wants to go low stakes, I`ll bet him dinner at Flint`s Ribs.''

Wilson said he wasn`t sure he would bet Agnos on the World Series. But later he said: ''I know what I`ll bet him. Maybe I`ll have a plastic foot made he can put in his mouth.''