Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您知道文本行的开头,如何从 LONGTEXT 列返回段落的行?
SELECT SUBSTRING('\nA line of text starts here', `paragraphs`) FROM books
通过使用“喜欢”。% 表示后面可以有更多的字符。
SELECT paragraphs FROM books WHERE paragraphs LIKE '\nA line of text starts here%'