A .sql file is just text, and dialects differ
There is no binary SQL format — a .sql file is a script of statements. What varies is the dialect. Quoting identifiers uses backticks in MySQL, double quotes in PostgreSQL, and square brackets in SQL Server. Auto-increment, string concatenation, date functions, and upsert syntax all differ too, so a dump from one engine rarely runs unmodified on another.