Preposition “bei”
Hello, everyone! Can you please explain me what is the difference between these two sentences:
Ich trinke vodka zum Früchstück
Ich trinke vodka beim Früchstück.
In which cases should I use bei and in which zu?
Another example:
Ich bin mit dem Freund
Ich bin bei dem Freund.
What is the difference?
Also I can’t understand when we should say “bei dem” or “bei der” and when “beim” will be correct.
Thank you!