RewriteEngine on
RewriteRule ^([A-Za-z]+)$ /index.php?cl=$1
我需SELECT T1.[AcctCode],T1.[AcctName] FROM OACT T1
作为T1.AcctName
operating cost
请帮我搞定。
答案 0 :(得分:1)
使用CASE
SELECT T1.[AcctCode],
AcctName = CASE WHEN T1.[AcctCode] = 61
THEN 'operating cost'
ELSE T1.[AcctName]
END
FROM OACT T1
答案 1 :(得分:0)
SELECT T1.AcctName AS operating cost FROM OACT T1 WHERE T1.AcctCode=61