Documente Academic
Documente Profesional
Documente Cultură
Story:
We need your help! The unit test (ADT Shortcut CTRL+SHIFT+F10) of class zcl_chl_osql_##
fail (red status indicator) and we need to deliver the software within the next hour.
Data Model
PRODUCT
ZA4H_SQL_Exercise_Base
Product_Key = Node_Key (SNWD_PD)
name_guid = parent_key
node_key = parent_key
Challenge: Can you please solve the unit test puzzle and save the shipment of our product?
Hints (which you certainly won’t need) can be found on the reverse side of this document.
Hints:
1. COUNT( * ) Determines the number of rows in the resulting set or in the current group.
2. If you want number of distinct values you can write COUNT ( DISTINCT field ).
4. You can generate NULL Values in LEFT or RIGHT OUTER JOIN constructs
5. The addition GROUP BY combines groups of rows that have the same content in their specified
columns col1 col2 ... in the resulting set into a single row.