OK - hab mal nachgeschlagen. Du "darfst" zwar reservierte Worte als Spaltennamen verwenden, es wird aber nicht empfohlen. Bennene die Spalte in "Gruppe" um, und es wird alles sofort funktionieren. Bei mir hat er schon beim erstellen einer Spalte mit dem Namen "group" auf der Kommandozeile eine Fehlermeldung geschoben. phpMyAdmin dürfte da etwas "lockerer" mit dem Problem umgehen.
Zitat:
A common problem stems from trying to create a table with column names that use the names of datatypes or functions built into MySQL, such as TIMESTAMP or GROUP. You're allowed to do it (for example, ABS is an allowed column name), but whitespace is not allowed between a function name and the `(' when using functions whose names are also column names.
|
http://www.mysql.org/doc/R/e/Reserved_words.html