- If you want a list of all your tags on a note then the following command would do
```dataview
table file.tags
```
- But if you want a list of, say, the notes containing #tag1, #tag2, #tag3 then you will have to use the following commands
```dataview
table file.tags from #tag1 or #tag2 or #tag3
```
In the second method you will have to replace “or” with “and” if you want only those notes which has all the three tags . For example, let there be three notes- Note1, Note2, Note3. These notes have the following tags-
Note1 = #tag1, #tag2
Note2 = #tag1, #tag2
Note3 = #tag1, #tag2, #tag3
Now if you use from #tag1 and #tag3 then only Note3 will be displayed since it satisfies both the criterion, whereas if you use from #tag1 or #tag3 then all the three notes - Note1, Note2, and Note3-will be displayed since each note fulfills either of the criteria