# Spark SQL & SQL Fundamentals

- [22. Practice : Business Query 5](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/22.-practice-business-query-5.md)
- [21. Practice : Business Query 4](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/21.-practice-business-query-4.md)
- [20. Practice : Business Query 3](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/20.-practice-business-query-3.md)
- [19. SQL Fundamentals : Case Expressions](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/19.-sql-fundamentals-case-expressions.md)
- [18. SQL Fundamentals : Predicates and Operators, like predicate](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/18.-sql-fundamentals-predicates-and-operators-like-predicate.md)
- [17. SQL Fundamentals : Right Outer Joins](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/17.-sql-fundamentals-right-outer-joins.md)
- [16. SQL Fundamentals : Left Outer Joins](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/16.-sql-fundamentals-left-outer-joins.md)
- [15. SQL Fundamentals : Inner Joins](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/15.-sql-fundamentals-inner-joins.md)
- [14. SQL Fundamentals : Order By Clause](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/14.-sql-fundamentals-order-by-clause.md)
- [13. SQL Fundamentals :  Having Clause](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/13.-sql-fundamentals-having-clause.md)
- [12. SQL Fundamentals : Having Clause](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/12.-sql-fundamentals-having-clause.md)
- [10. SQL Fundamentals : Group By Clause](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/10.-sql-fundamentals-group-by-clause.md)
- [9. SQL Fundamentals :  Aggregations - Sum, Count, Avg, Mean](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/9.-sql-fundamentals-aggregations-sum-count-avg-mean.md)
- [8. SQL Fundamentals : Handling NULLs & where clause](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/8.-sql-fundamentals-handling-nulls-and-where-clause.md)
- [7. SQL Fundamentals : Where Clause & Equality Checks](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/7.-sql-fundamentals-where-clause-and-equality-checks.md)
- [6. SQL Fundamentals : Select Clause & Select Expression](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/6.-sql-fundamentals-select-clause-and-select-expression.md)
- [5. Tables : Managed](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/5.-tables-managed.md)
- [4. Tables : Unmanaged](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/4.-tables-unmanaged.md)
- [3. Databases : List, Create, Delete, Select](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/3.-databases-list-create-delete-select.md)
- [2. Run SQL on a DataFrame : GlobalView](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/2.-run-sql-on-a-dataframe-globalview.md)
- [1. Run SQL on a DataFrame : TempView](https://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals/1.-run-sql-on-a-dataframe-tempview.md)


---

# Agent Instructions: 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://architectures.gitbook.io/project/databricks-fundamentals-and-apache-spark-core/spark-sql-and-sql-fundamentals.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.
