5 SELECT 'trailing' AS first; -- trailing single line
6 SELECT /* embedded single line */ 'embedded' AS second;
7 SELECT /* both embedded and trailing single line */ 'both' AS third; -- trailing single line
9 SELECT 'before multi-line' AS fourth;
10 /* This is an example of SQL which should not execute:
11 * select 'multi-line';
13 SELECT 'after multi-line' AS fifth;
20 SELECT 'trailing' as x1; -- inside block comment
23 /* This block comment surrounds a query which itself has a block comment...
24 SELECT /* embedded single line */ 'embedded' AS x2;
27 SELECT -- continued after the following block comments...
28 /* Deeply nested comment.
29 This includes a single apostrophe to make sure we aren't decoding this part as a string.
30 SELECT 'deep nest' AS n1;
31 /* Second level of nesting...
32 SELECT 'deeper nest' as n2;
33 /* Third level of nesting...
34 SELECT 'deepest nest' as n3;
36 Hoo boy. Still two deep...
40 'deeply nested example' AS sixth;
42 /* and this is the end of the file */