Fleshed out insert sql