0
是否存在僅匹配空格的通配符?我試圖找到看起來像所有記錄:僅匹配空格的通配符
Berlin DE
Munchen DE
London GB
那是我的查詢:
SELECT
cities_aliases.alias,
cities_aliases.id as alias_id,
cities.id as clean_id,
cities.city,
cities.country
FROM
cities_aliases,
cities
WHERE
LOWER(cities_aliases.alias) LIKE CONCAT(cities.city,'WILDCARD_THAT_MATCHES_WHITESPACES_ONLY', LOWER(cities.country))
AND
cities.country = cities_aliases.country
AND
cities_aliases.citycode IS NULL