SQL is not 50 years old. SAS preceded SQL by many years, was invented in 1972. SQL dates to 1980s…