Access to numerically indexed array in wpdb Class and undefined offset

var_dump($einzel);

array(10) { [0]=> string(3) "144" [1]=> string(10) "21.05.2020" [2]=> string(10) "00.00.0000" [3]=> string(30) "Zugtag der Königsgilde Voitze" [4]=> string(14) " ab 10.00 Uhr " [5]=> string(0) "" [6]=> string(41) "Schützenhaus Voitze, Salzwedeler Straße" [7]=> string(6) "Voitze" [8]=> string(11) "Gaede,Joerg" [9]=> string(23) "[email protected]" }

There are two same column names: ‘id’ and ‘name’.
I worked around the problem and changed one column name from ‘name’ into ‘verein’ and take away one ‘id’ (only need one).
So it works for me, but the question remains, why does it work with PHPMyAdmin, or not with wpdb.