You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sql-tools/小程序监控.sql

17 lines
457 B

1 year ago
use saidao_main
SELECT C.FCLientNo,C.FClientName,A.FIPLocation,A.FSystemInfo,A.FMobile,A.FCreationTime
FROM TWeChatAppSession AS A,TClientInfo AS C
WHERE A.FClientId = C.FClientID
AND A.FMobile != ''
ORDER BY FCreationTime DESC
SELECT SUM(CASE WHEN FSystemInfo LIKE '%IOS%' THEN 1 ELSE 0 END) AS IOS,
SUM(CASE WHEN FSystemInfo LIKE '%Android%'THEN 1 ELSE 0 END) AS Android
FROM TWeChatAppSession
SELECT * FROM TFeedback
WHERE FPlatform = 'WecHAT'