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.