This is easy: just select Table → Summary. Specify the variable for the By group as "Grouping", select the variable for which you want to find the median, and select "Statistics" -> "Median".