Not a mechanic here. I've been tinkering on my bikes since I was 13 and I've always asked mechanics for advice. I've had wildly different responses. Generally mechanics will take the time to answer your questions on repair and point you in the right direction with parts/tools if they are not slammed. Tip: don't go in on a Saturday afternoon in July. Occasionally you'll get someone rude who lords their bike knowledge over you, but generally bike folk want to spread the love. Find a shop where you feel comfortable. Also, a cute girl wanting to learn how to fix a bike will get attention, six pack or not!
Mechanics and shop owners take note: If a mechanic is rude to me about repair/parts questions I don't buy ANYTHING there. I judge a shop on the knowledge and helpfullness of the mechanics and will buy all of my parts/tools there.