did some sql testing