CREATE TABLE INVESTORS (Investor_details VARCHAR2, investor_id VARCHAR2)
CREATE TABLE TRANSACTIONS (investor_id VARCHAR2)

Show the id and details for the investors who have the top 3 number of transactions.
SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 3
SELECT "T2"."investor_id", "T1"."Investor_details" FROM "INVESTORS" "T1" JOIN "TRANSACTIONS" "T2" ON "T1"."investor_id" = "T2"."investor_id" GROUP BY "T2"."investor_id" ORDER BY COUNT(*) DESC FETCH FIRST 3 ROWS ONLY