mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-10 10:16:55 +08:00
fix: correct database query examples in templates
This commit is contained in:
@@ -52,6 +52,7 @@ template:
|
||||
COUNT([o].[订单ID]) AS [total_orders],
|
||||
CONVERT(VARCHAR, ROUND([o].[折扣率] * 100, 2)) + '%' AS [discount_percent]
|
||||
FROM [Sales].[Orders] [o]
|
||||
GROUP BY [o].[订单ID], [o].[金额], [o].[折扣率]
|
||||
</output-good>
|
||||
</example>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user