SQL thingies

Made 8.5 of them, take over, mayday, mayday