Add all SQL stored procedures to the db schema

It isn't clear to me just from the name how this differs from `readOneFromMultipleResults`. Maybe `readFirstResult` and `readOneFromFirstResult`?