public static function selectSingle(
        $fields,
        $tableNames,
        $whereClause = '',
        $groupBy = '',
        $orderBy = '',
        $offset = 0
    ) {
        $result = self::selectMultiple(
            $fields,
            $tableNames,
            $whereClause,
            $groupBy,
            $orderBy,
            $offset . ',' . 1
        );
        if (empty($result)) {
            throw new \Tx_Oelib_Exception_EmptyQueryResult();
        }

        return $result[0];
    }