Solution:

Two of them drank beer, wine and water. One of them drank nothing.