A query in [[Obsidian]] is the same as a search. All searches can be embedded into a note with this syntax:
```query
tag:#today
```
This is the core functionality. However, a plugin has been released that enables richer querying, called [Obsidian Dataview](https://github.com/blacksmithgu/obsidian-dataview).
[[Obsidian Dataview]] allows tables or lists to be created from queries that are similar to SQL. For example:
```dataview
table file.cday as "Date Created"
from "Wildemount"
where contains(file.path, "Port Damali")
sort file.name asc
```
returns a table:
![[Dataview table output.png]]