我在解决我的请求时遇到了困难:
SELECT DISTINCT LOWER (CustomerName),
SUBSTR(Customer.PostalCode, 1, 3) +" "+ SUBSTR(Customer.PostalCode,4,6)AS'postal'
FROM Customer
ORDER BY Customer.CuName
我收到消息:未找到预期的词法元素
这个完美无缺。
SELECT DISTINCT Customer.Name, Customer.PostalCode AS'postal'
FROM Customer
ORDER BY Customer.CuName
有人可以帮忙吗?