select count(*) from table where a = 100
è¯å¥æ£ç´¢tableè¡¨æ ¼ä¸aå段çäº100çè®°å½æ°éï¼
1ãæ£ç´¢ç»æ大äº1ï¼ä¹å°±æ¯æéå¤è®°å½
2ãæ£ç´¢ç»æçäº0ï¼è¯´æ没æçäº100çè®°å½
3ãçäº1ï¼å½ç¶å°±æ¯åªæä¸æ¡è®°å½ï¼æ²¡æéå¤ã
温馨提示:答案为网友推荐,仅供参考