Translate the following question to SQL: What are the task details, task ids, and project ids for the progrects that are detailed as 'omnis' or have at least 3 outcomes?

Schema: CREATE TABLE Document_Types (
    document_type_code VARCHAR(10)   PRIMARY KEY,
    document_description VARCHAR(255) NOT NULL,
    UNIQUE (document_type_code)
);

CREATE TABLE Documents (
    document_id INTEGER   PRIMARY KEY,
    document_type_code VARCHAR(10),
    grant_id INTEGER NOT NULL,
    sent_date DATETIME NOT NULL,
    response_received_date DATETIME NOT NULL,
    other_details VARCHAR(255) NOT NULL,
    FOREIGN KEY (grant_id) REFERENCES Grants(grant_id),
    FOREIGN KEY (document_type_code) REFERENCES Document_Types(document_type_code)
);

CREATE TABLE Grants (
    grant_id INTEGER   PRIMARY KEY,
    organisation_id INTEGER NOT NULL,
    grant_amount DECIMAL(19,4) NOT NULL DEFAULT 0,
    grant_start_date DATETIME NOT NULL,
    grant_end_date DATETIME NOT NULL,
    other_details VARCHAR(255) NOT NULL,
    FOREIGN KEY (organisation_id) REFERENCES Organisations(organisation_id)
);

CREATE TABLE Organisation_Types (
    organisation_type VARCHAR(10)   PRIMARY KEY,
    organisation_type_description VARCHAR(255) NOT NULL,
    UNIQUE (organisation_type)
);

CREATE TABLE Organisations (
    organisation_id INTEGER   PRIMARY KEY,
    organisation_type VARCHAR(10) NOT NULL,
    organisation_details VARCHAR(255) NOT NULL,
    FOREIGN KEY (organisation_type) REFERENCES Organisation_Types(organisation_type)
);

CREATE TABLE Project_Outcomes (
    project_id INTEGER NOT NULL,
    outcome_code VARCHAR(10) NOT NULL,
    outcome_details VARCHAR(255),
    FOREIGN KEY (outcome_code) REFERENCES Research_Outcomes(outcome_code),
    FOREIGN KEY (project_id) REFERENCES Projects(project_id)
);

CREATE TABLE Project_Staff (
    staff_id DOUBLE   PRIMARY KEY,
    project_id INTEGER NOT NULL,
    role_code VARCHAR(10) NOT NULL,
    date_from DATETIME,
    date_to DATETIME,
    other_details VARCHAR(255),
    UNIQUE (staff_id),
    FOREIGN KEY (role_code) REFERENCES Staff_Roles(role_code),
    FOREIGN KEY (project_id) REFERENCES Projects(project_id)
);

CREATE TABLE Projects (
    project_id INTEGER   PRIMARY KEY,
    organisation_id INTEGER NOT NULL,
    project_details VARCHAR(255) NOT NULL,
    FOREIGN KEY (organisation_id) REFERENCES Organisations(organisation_id)
);

CREATE TABLE Research_Outcomes (
    outcome_code VARCHAR(10)   PRIMARY KEY,
    outcome_description VARCHAR(255) NOT NULL,
    UNIQUE (outcome_code)
);

CREATE TABLE Research_Staff (
    staff_id INTEGER   PRIMARY KEY,
    employer_organisation_id INTEGER NOT NULL,
    staff_details VARCHAR(255) NOT NULL,
    FOREIGN KEY (employer_organisation_id) REFERENCES Organisations(organisation_id)
);

CREATE TABLE Staff_Roles (
    role_code VARCHAR(10)   PRIMARY KEY,
    role_description VARCHAR(255) NOT NULL,
    UNIQUE (role_code)
);

CREATE TABLE Tasks (
    task_id INTEGER   PRIMARY KEY,
    project_id INTEGER NOT NULL,
    task_details VARCHAR(255) NOT NULL,
    eg Agree Objectives VARCHAR(1),
    FOREIGN KEY (project_id) REFERENCES Projects(project_id)
);
user
SELECT T1.task_details ,  T1.task_id ,  T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id WHERE T2.project_details  =  'omnis' UNION SELECT T1.task_details ,  T1.task_id ,  T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id  =  T2.project_id JOIN Project_outcomes AS T3 ON T2.project_id  =  T3.project_id GROUP BY T2.project_id HAVING count(*)  >  2
assistant