There is a simple mysql table 'mytable' with a column called 'fruit', which is a enum field contains 'apple', 'orange' and 'mango'.
We can access the index value of the enum with SELECT fruit+0 FROM mytable But how can we insert the enum field by index instead of INSERT INTO mytable fruit VALUE 'apple' WHERE ...
I tried INSERT INTO mytable fruit+0 VALUE '1' WHERE ... but it doesn't work and couldn't find any related topics here or from net.
Thanks.