A winning position is called critical, if all moves - except one - draw or lose (assuming the opponent plays perfectly). Similarly, a drawn chess position is called critical, if all moves - except one - lose.
Consider this critical endgame position as an example.
[FEN "8/8/1B6/6P1/1b6/8/2K4k/8 w - - 0 1"]
The only winning move is 1. Ba5!! while every other move draws.
Using endgame tables it is possible to determine if a given position is critical. However, I am interested in a database with all critical endgames. Does such database exist? If not, how could I create one myself?