I can't find these in words in the MySQL manual for reserved words but apparently phpMyAdmin says they're reserved:
相关问题
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Why sometimes there is one of more gap(s) in the v
- mySQL alter table on update, current timestamp
This is, technically, a bug in phpMyAdmin. From
libraries/sqlparser.data.php
:(list includes
'STATUS'
and'TYPE'
, which are clearly not on the referenced manual page).Bug #948 identified that phpMyAdmin at that time capitalised certain column names (including
STATUS
) due to (erroneously) being identified as reserved words from this list; those keywords were initially removed from the list as a result, but that commit was subsequently reversed, for the reasons explained by Alexander Turek:That is to say, phpMyAdmin uses the same list of words to conduct syntax highlighting in its pretty printer as it does for detecting reserved words; this is erroneous and leads to the warnings you observe.