This a plain file that contains the commands that can be used to replicate the
hands-on example "HandsOn: N1QL".

Commands are wrapped in a blocks of ``` (according to Markdown:
https://en.wikipedia.org/wiki/Markdown; please use a Markdown viewer for proper
readability) and on top the description of the code is underline with `=======`.

## (0) Preparation
================================================================================

Go to the web interface of Couchbase's tutorial:
https://query-tutorial.couchbase.com/


## (1) Commands (One After Another)
================================================================================
```
SELECT *
FROM tutorial
```

```
SELECT *
FROM tutorial
WHERE fname = 'Harry'
```

```
SELECT children
FROM tutorial
WHERE fname = 'Dave'
```

```
SELECT children[0].*
FROM tutorial
WHERE fname = 'Dave'
```

```
SELECT *
FROM tutorial
WHERE ANY item IN children SATISFIES item.age >= 17 END
```