Stargate is full of genius characters, but which is the most intelligent of the bunch? Those like Rodney McKay, Samantha Carter, and Daniel Jackson were born with a rare sort of intelligence, allowing them to wrap their minds around the complexities of wormhole travel. Of course, not every member of Stargate Command is a brainiac. The various teams were made up of fighters as well, who contributed their strengths to Earth's fight against the Goa'uld rather than significant intelligence. Still, many of these individuals, like Jack O'Neill, had their own type of cleverness that allowed them to save the day (and several lives) on multiple occasions—so how do they all rank?
https://screenrant.com/stargate-main-characters-intelligence-ranked/