GraphQL is an alternative to REST, not SQL. GraphQL is not SQL! Instead, GraphQL is data-agonistic, and GraphQL, being one of the possible and most popular way, uses SQL to fetch data