Which services type had both successful and failure event details?
CREATE TABLE services (
    service_type_code VARCHAR,
    service_id VARCHAR
)

CREATE TABLE EVENTS (
    service_id VARCHAR,
    event_details VARCHAR
)
SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id = T2.service_id WHERE T2.event_details = 'Success' INTERSECT SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id = T2.service_id WHERE T2.event_details = 'Fail'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which services type had both successful and failure event details? ### Input: CREATE TABLE services (
    service_type_code VARCHAR,
    service_id VARCHAR
)

CREATE TABLE EVENTS (
    service_id VARCHAR,
    event_details VARCHAR
) ### Response: SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id = T2.service_id WHERE T2.event_details = 'Success' INTERSECT SELECT T1.service_type_code FROM services AS T1 JOIN EVENTS AS T2 ON T1.service_id = T2.service_id WHERE T2.event_details = 'Fail'