The Girl with the Dragon Tattoo uses apparently legitimate SQL to show the character’s attempts to research murders. Her skills may be questionable though. Source.