exam crud and updated SQL