# Antwoorden

**Oefening 2.1**

```sql
select FirstName, LastName, Phone 
from Customer
```

**Oefening 2.2**

```sql
select DISTINCT Country 
from Customer;
```

**Oefening 2.3**

```sql
select FirstName, LastName, Country 
from Customer 
Order By Country, LastName;
```

**Oefening 2.4**

```sql
select firstname, lastname 
from Customer 
where firstname = 'Mark';
```

**Oefening 2.5**

```sql
select * 
from customer 
where country = 'USA' and (city = 'New York' or city = 'Mountain View')
```

**Oefening 2.6**

```sql
select firstname, lastname 
from Customer 
where firstname like 'A%' or
firstname like 'E%' or
firstname like 'O%' or
firstname like 'U%' or
firstname like 'I%';
```

### Oefening 2.7

```sql
select CustomerId, Fax 
from Customer 
where fax is null;
```

**Antwoord 2.1**

```sql
select * 
from Customer
Where Country = 'Netherlands'
```

**Antwoord 2.2**

```sql
select Distinct Country
from Customer
```

**Antwoord 2.3**

```sql
select *
from Track 
where Milliseconds > 200000;
```

**Antwoord 2.4**

```sql
select *
from Track 
where Milliseconds > 200000 
order by Milliseconds desc;
```

**Antwoord 2.5**

```sql
select Name
from Track 
order by Milliseconds desc
LIMIT 3;
```

1.
2. Sorteer bovenstaande lijst van laag naar hoog.
3. Wat zijn track namen van de de 3 langste tracks


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://metis-montessori-lyceum.gitbook.io/informatica/modules/databases/2-selectie-voorwaarden-en-sorteren/antwoorden.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
