我觉得这个问题肯定在某个地方得到了答案,但我阅读了大量的帖子,尝试了许多不同的解决方案,但我无法让它起作用。(day) 我不断地收到这样的错误: You have an error in your SQL syntax; check the manual that corresponds to
your MySQL
与此相关的问题有很多,答案是使用split_part()。例如: emulating MySQL's substring_index() in PGSQL Mysql`s SUBSTRING_INDEX equivalent in postgresql 然而,将返回以下内容: mysql> select SUBSTRING_INDEX(string, ',', 4) AS test FROM tbl;
+---------------------------> select <em
document into a local mysql database server.我试过text.Split(但它似乎不起作用。import mysql.connector
host='localhost', password= ""):
#can i add a line split here?