Hello. After completing the table and data migration using javascriptorm, I entered the mysql shell and did desc <table name>
because the query did not work. But
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order' at line 1
The grammar error appears as above. Of course, if you do show tables;
, the table appears in the list. Have you experienced this before? If you have any information that you want to share, please leave a comment :)
desc `order`;
select * from `order`;
If you wrap it with a bag-tick (`), you can use a reserved word.
© 2024 OneMinuteCode. All rights reserved.