Code:
select distinct <column_name> 
from <table_name> partition <partition_name>;