简体   繁体   中英

Mysql: How can i use LIKE in a left join query?

这是查询These are my tables. The first one is the sp_archive and the second one is the account table. 在此处输入图片说明在此处输入图片说明 The output should be titles with the keyword Prop. When i use the sql code above there's an output but it's wrong

The syntax is wrong.

Replace WHERE to AND at the bottom line

正如@PaulCampbell 所说,最后的 AND 子句应该是 WHERE 子句,并且应该在 group by 子句之前

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM