CREATE INDEX propertyNo_idx ON dreamhome.Viewing (propertyNo ASC) VISIBLE报了几个错,都是这样格式的,为什么呀sos
propertyNo_idx
dreamhome
Viewing
propertyNo
你看看你的mysql版本是多少,创建索引时的VISIBLE关键词是mysql 8.0才增加的,具体可参考官方文档
一般默认就是VISIBLE,所以如果是老版本,把这玩意去掉就行了