Add 24.sql

Completed ex #24