1 DECLARE GLOBAL TEMPORARY TABLE table-name
2 (
2.1+ ,
2.1.0 column-definition
2.1.0 LIKE
2.1.0.1 table-name
2.1.0.1 view-name
2.1.0.2? copy-options
2.2 )
2 LIKE
2.1 table-name
2.1 view-name
2.2? copy-options
2 as-subquery-clause
3+ 
3 WITH REPLACE
3! ON COMMIT DELETE ROWS
3?
3 ON COMMIT PRESERVE ROWS
3 NOT LOGGED
3.1! ON ROLLBACK DELETE ROWS
3.1?
3.1 ON ROLLBACK PRESERVE ROWS
3.2 (1) 


column-definition:

1 column-name
2? FOR
2.1! COLUMN
2.2 system-column-name
3 data-type
4+ 
4? 
4.0 default-clause
4.0 GENERATED
4.0.1 ALWAYS
4.0.1 BY DEFAULT
4.0.2 identity-options
4.0 NOT NULL
4 datalink-options (2) 
5 (1) 


data-type:

1 built-in-type
1 distinct-type-name