Commander Mine Squadron SEVEN ended in 1968.
Squadron Commander
Jefferson Davis, as Commander in Chief of the Confederacy was also the Commander of the Confederate Navy, but he didn't lead any Naval squadron.
Squadron Leader.
617 Squadron, the 'Dam Busters', is still an operational RAF squadron and, so, has had a great many commanding officers. Of the wartime COs, probably the most famous were Wing Commander Guy Gibson, VC (who commanded the squadron during the dams' raid), and Wing Commander Leonard Cheshire, VC.
Squadron Commander
The 327th Star Corps.
Wing staff and comptroller squadron
The squadron commander is typically responsible for the day-to-day management of the CE (Civil Engineer) squadron, overseeing operations, setting priorities, and ensuring mission success. They work closely with their staff and other key personnel to ensure the squadron is running effectively and efficiently.
Patricio Montojo commanded the Philippine Squadron and Pascual Cervera had the Caribbean Squadron.
Only the Squadron Commander/Organization Chief
Major, I believe.