这有效:
SELECT `nid`, CONCAT('node/', `nid`) AS `vpath`, `title`
FROM `node` WHERE MATCH(`title`) AGAINST ('a*' IN BOOLEAN MODE)
那么为什么这不起作用:
SELECT `nid`, CONCAT('node/', `nid`) AS `vpath`, `title`, `alias`
FROM `node` WHERE MATCH(`title`) AGAINST ('a*' IN BOOLEAN MODE)
LEFT JOIN `url_alias` ON `url_alias`.`source` = `vpath`