Edit SQL chapter