Show the ids and details of the investors who have at least two transactions with type code 'SALE'.
CREATE TABLE transactions_lots (
    transaction_id number,
    lot_id number
)

CREATE TABLE sales (
    sales_transaction_id number,
    sales_details text
)

CREATE TABLE lots (
    lot_id number,
    investor_id number,
    lot_details text
)

CREATE TABLE ref_transaction_types (
    transaction_type_code text,
    transaction_type_description text
)

CREATE TABLE purchases (
    purchase_transaction_id number,
    purchase_details text
)

CREATE TABLE transactions (
    transaction_id number,
    investor_id number,
    transaction_type_code text,
    date_of_transaction time,
    amount_of_transaction number,
    share_count text,
    other_details text
)

CREATE TABLE investors (
    investor_id number,
    investor_details text
)
SELECT T2.investor_id, T1.investor_details FROM investors AS T1 JOIN transactions AS T2 ON T1.investor_id = T2.investor_id WHERE T2.transaction_type_code = "SALE" GROUP BY T2.investor_id HAVING COUNT(*) >= 2
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: Show the ids and details of the investors who have at least two transactions with type code 'SALE'. ### Input: CREATE TABLE transactions_lots (
    transaction_id number,
    lot_id number
)

CREATE TABLE sales (
    sales_transaction_id number,
    sales_details text
)

CREATE TABLE lots (
    lot_id number,
    investor_id number,
    lot_details text
)

CREATE TABLE ref_transaction_types (
    transaction_type_code text,
    transaction_type_description text
)

CREATE TABLE purchases (
    purchase_transaction_id number,
    purchase_details text
)

CREATE TABLE transactions (
    transaction_id number,
    investor_id number,
    transaction_type_code text,
    date_of_transaction time,
    amount_of_transaction number,
    share_count text,
    other_details text
)

CREATE TABLE investors (
    investor_id number,
    investor_details text
) ### Response: SELECT T2.investor_id, T1.investor_details FROM investors AS T1 JOIN transactions AS T2 ON T1.investor_id = T2.investor_id WHERE T2.transaction_type_code = "SALE" GROUP BY T2.investor_id HAVING COUNT(*) >= 2