I have edited the video of my Bar Camp presentation of the Report sources plugin which allows the creation of core reports with SQL. Tag line... Report builder... the sequel.
See the video here
See a short introduction here
Get instant access to experiment with it here
https://examulator.com/rs/local/invitation/join.php?courseid=3&id=ed8268b9-acf2-41ed-9467-071041752ecf
Find the code here
https://github.com/marcusgreen/local_reportsources
Documentation here
https://github.com/marcusgreen/local_reportsources/blob/main/docs/userdocs.md