SQL is much more advanced than excel because you can do the same tasks about 90% faster with SQL than Excel. The core difference is that SQL places a high emphasis on analysis by letting you use a separate relational database management system, like MySQL.
On the other hand, you can think of Excel as an advanced calculator that automates calculations and routine tasks. Analyzing data with Excel is very primitive compared to what SQL has to offer.