$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery( 'distinct worker', //SELECT DISTINCT по полю 'user_daten', //FROM table '', //WHERE '', '', '' );