SQL Edit Part 2

Non functional at the moment