Derby County Under-21s were beaten 3-2 at Bristol City in Group B of the Premier League Cup on Tuesday evening.