Is it okay to name a column in a MySQL table year? Any reason not to?
If you quote your identifiers properly, you can use almost any word you want:
SELECT * FROM `select` WHERE `select`.id > 100;
You can name it year, there is no reason not to do so because it is not the reserved keyword of mysql/sql.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With