Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   DISTINCT в TypoScript (http://forum.typo3.ru/showthread.php?t=9481)

Anlov 19.05.2011 14:22

DISTINCT в TypoScript
 
привет.
есть ли аналог оператора DISTINCT в TypoScript?
нужно извлечь из таблицы данные без повторов

Anlov 19.05.2011 15:21

есть. сам DISTINCT.

Код:

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



Часовой пояс GMT +4, время: 22:03.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot