This visual execution shows how SQL functions DATE_FORMAT and EXTRACT work on a date/time value. First, the input date '2024-06-15 14:30:00' is given. DATE_FORMAT formats this date into a string '2024-06-15' using the pattern '%Y-%m-%d'. EXTRACT pulls out the hour part as the number 14. The execution table traces these steps clearly, showing inputs, formats, and outputs. The variable tracker shows how the input date stays the same, while formatted date and extracted hour get their values. Key moments clarify why DATE_FORMAT returns a string and EXTRACT returns a number, and what parts EXTRACT can get. The quiz tests understanding by asking about outputs at specific steps and effects of changing the format. The snapshot summarizes usage and differences. This helps beginners see exactly how these functions transform date values step-by-step.