Table schema:
CREATE TABLE Certificate (eid VARCHAR)

Question: How many employees have certificate.
SQL: SELECT COUNT(DISTINCT eid) FROM Certificate