Databases weren't part of the core CS curriculum at least when I was a student. I still don't understand why since it seems as core to understanding modern software as anything to me.
The university I went to seemed like it was half Java, half .NET, and half databases. Seriously, databases leaked into everything, and they had database classes that were just as extensive and in depth as the other two 'tracks'. We also had an ORM god for a professor.
It doesn't just stop there. They tend to rewrite a lot of things that you could do in SQL on NoSQL databases(Irony..) albeit the implementations are half written, buggy and break on adhoc inputs.
Even more worse, these sort of things come and bite people while these design schemas. After NoSQL database fashion has taken off, schema design, performance tuning et all are rapidly getting rare skills to find people with. This results in all kinds tech debt.