This is a simple example demonstrating a basic query.
Fetching data from the specified path.
You've accessed the /msdn/documentation/sql/querying/examples/basic/ path. This path suggests a specific section within the documentation that provides basic SQL query examples.
Querying the 'users' table to get all users.
```sql SELECT * FROM users; ```
This query retrieves all columns from the 'users' table.
Querying the 'users' table where the 'name' is 'Alice'.
```sql SELECT * FROM users WHERE name = 'Alice'; ```
This query retrieves only the users with the name 'Alice'.
Querying the 'users' table sorted by age in ascending order.
```sql SELECT * FROM users ORDER BY age ASC; ```
This query sorts the 'users' table by age in ascending order.
Querying the 'users' table where the age is greater than 30.
```sql SELECT * FROM users WHERE age > 30; ```
This query retrieves users older than 30.