Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Contar o número de membros que fizeram pelo menos três treinos.
 ###Tabelas: 
CREATE TABLE Members (MemberID INT, Name VARCHAR(50)); INSERT INTO Members (MemberID, Name) VALUES (1, 'Pedro Martinez'); INSERT INTO Members (MemberID, Name) VALUES (2, 'Aisha Ahmed'); INSERT INTO Members (MemberID, Name) VALUES (3, 'Minho Park'); CREATE TABLE Workout (WorkoutID INT, MemberID INT, WorkoutType VARCHAR(30)); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (1, 1, 'Running'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (2, 1, 'Cycling'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (3, 2, 'Yoga'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (4, 2, 'Cycling'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (5, 2, 'Swimming'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (6, 3, 'Running'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (7, 3, 'Cycling'); INSERT INTO Workout (WorkoutID, MemberID, WorkoutType) VALUES (8, 3, 'Swimming');
SELECT COUNT(DISTINCT MemberID) FROM Workout GROUP BY MemberID HAVING COUNT(*) >= 3;