Some of the best (robust, easy to use
etc.) hospital information systems, patient records, and maintenance systems, I have come across were indeed developed in-house! Not SQL ... but C. But that was back in the days when there were still some
real programmers about.
