Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Introduction
Filtering by row
Extracting data by column
13. Exclude columns by position
Practice using filter() and select()
The pipe operator
Sorting rows
Summary

## Instruction

As with filter(), we can choose not to include some columns in our results. In this case, we use the - operator and the positions of the columns we don't want. If we didn't want column 5 from countries, we'd write:

select(countries, -5)

## Exercise

Select all columns except the third and fourth columns from countries. Use a comma (,) to separate the columns. Place a - in front of each column number.

### Stuck? Here's a hint!

Type:

select(countries, -3, -4)