Solution
IDE/PATA HDDs have a 4-pin MOLEX power connector, a 40-pin array, and a jumper to select Master/Slave/Cable Select.

SATA has two L-shaped slots on the back, the short one is for the SATA data cable and the long one is for the SATA power connector.
IDE/PATA HDDs have a 4-pin MOLEX power connector, a 40-pin array, and a jumper to select Master/Slave/Cable Select.

SATA has two L-shaped slots on the back, the short one is for the SATA data cable and the long one is for the SATA power connector.
 
Solution