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.
举个例子,我有像“Jhon Abraham”、“Hrithik Roshan”和“Jimmy”这样的条目。
然后,输出应该为我获取前两个条目,即“Jhon Abraham”和“Hrithik Roshan”。
SELECT columnName FROM table WHERE trim(columnName) LIKE '% %'
SELECT col_name FROM table_name WHERE col_name LIKE '% %';