Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

GROUP BY STATEMENT

Hi

is group by function  possible  with SQL select statement used while loading the data if yes please help me with the syntax for the same

Thanking You

Vinayagam .

Labels (1)
2 Replies
Not applicable
Author

[JSTO]:   // Status object information

Load

   [OBJNR] as [OBJNR],

   [STSMA] as [STSMA],

   [OBTYP] as [OBTYP];

SQL Select MAX(OBJNR) as OBJNR STSMA OBTYP  from JSTO

GROUP BY STSMA OBTYP

;

STORE * FROM [JSTO] INTO JSTO.QVD;

DROP TABLE [JSTO];

MK_QSL
MVP
MVP

==========================

OLEDB CONNECT32 TO .......

Load

  Supplier,

  SUM(Quantity) as TotalQty,

  SUM(Amount) as TotalAmount

Group By Supplier;

LOAD

    Supplier,

    Quantity,

    Amount;   

SQL SELECT *

FROM ABC.dbo."TableName";

==============================

Hope this help...