It should be possible to parse those and check if they obey the schema, so raw SQL that updates/inserts/deletes data could also be checked.
Sometime when people use the term SQL, they mean DDL, DQL (data query lang) and DML (data manipulation lang), other times they mean just queries (DQL).
It should be possible to parse those and check if they obey the schema, so raw SQL that updates/inserts/deletes data could also be checked.