Codecademy teaches you the basics of SQL. Injection is just one way of using this SQL, they can't have a course on every single thing you can do with SQL so instead it's up to the users to find out how to implement their new found coding knowledge.