In this article, they will be called original and crosstab respectively.
W dalszej części te dwa typy zapytań będą nazywane odpowiednio: original i crosstab.
It's crosstab() from tablefunc module, which returns a pivoted table for a given query.
Jest to crosstab() w module tablefunc, która zwraca zpivotowaną tabelę wynikową zapytania podanego jako argument.
The Smart version uses the advantages of the crosstab() function in a better way, which creates the expected columns skeleton with default values and fulfills it with the data if there is any.
Wersja smart lepiej wykorzystuje możliwości funkcji crosstab(), która najpierw tworzy oczekiwany szkielet kolumn z domyślną wartością, a następnie uzupełnia je danymi, jeżeli takie istnieją.
The crosstab() function, which we decided to use in our application with all our appeared the most stable and the most efficient for the growing number of the processed data.
Po usunięciu najbardziej niewydajnych zapytań, wykres staje się bardziej przejrzysty. Zastosowana przez nas funkcja crosstab() wraz ze wszystkimi optymalizacjami okazała się najbardziej stabilna i najbardziej wydajna dla rosnącej ilości przetwarzanych danych.
The crosstab() function takes one parameter with SQL query as string and returns a transformed table.
Funkcja crosstab() przyjmuje jako argument tekst zawierający zapytanie SQL, które po wykonaniu zwraca tabelę do transformacji.
The second one uses Postgres crosstab() function, which adds a pivoted subquery as new columns.
Drugie wykorzystuje funkcję crosstab() bazy danych PostgreSQL, która tworzy pivot wyniku podzapytania i dołącza go jako kolejne kolumny do wyniku.
But there is one additional problem - the query is transferred to crosstab() as an immutable string and therefore, it will not adapt to each product row.
Tu pojawił się jednak dodatkowy problem - zapytanie przekazywane do funkcji crosstab() ma postać tekstową, w związku z czym nie jest w stanie adaptować się do każdego wiersza głównego zapytania (zmienne id).
The greatest advantage of an excel cube over a simple crosstab is that the data is stored externally in a.cub file and the connection parameters in a.ogy file.
największą zaletą cube'a excel w stosunku do zwykłego crosstaba jest fakt, że dane są zapisane w zewnętrznym pliku w formacie.cub, a parametry połączenia w pliku.ogy.
Excel crosstab generated from a fact table Excel crosstab generated with a 'create OLAP Cube from this query'
Ten typ crosstaba Excel jest generowany za pomocą wyboru opcji 'create OLAP Cube from this query' w kreatorze tabel przestawnych.
Excel crosstab generated with a 'create OLAP Cube from this query'
Ten typ crosstaba Excel jest generowany za pomocą wyboru opcji 'create OLAP Cube from this query' w kreatorze tabel przestawnych.
An excel cube is created by selecting 'create OLAP Cube from this query' in the crosstab generation dialog window. Selecting the option will open an OLAP Cube Wizard which has three steps.