The question might be too broad, anyway:
Which use cases (phrases) are there for бы besides when it has this kind of subjunctive meaning coming with a verb ending in
-л / -ла / -ло / -ли
(see below)?- For instance: как бы, почему бы и нет
_2. What function does бы have, i. e. does it always make something "unreal" (subjunctive)?
- For instance: What's the difference between saying
- почему нет and
- почему бы и нет?
What I mentioned in 1. (..coming with a verb..) are the following use cases
бы
1. употребляется для образования сослагательного наклонения
1) предположительной возможности
кто бы это мог быть? — who could / might that be?
2) вежливого пожелания, совета, просьбы
было бы очень приятно вас видеть — it would be very nice to see you2. (+ ни) употребляется в составе неопределённых местоимений и союзов
кто бы ни пришёл — whoever comes
что бы из этого ни вышло — whatever comes of it
что бы ни случилось — whatever happens
Ref: D. I. Yermolovich, T. M. Krasavina