# Documentation and Examples on SQL

**URL:** <https://community.dreamfactory.com/t/documentation-and-examples-on-sql/53>\
**Category:** Connecting to SQL\
**Created:** [May 14, 2014, 6:14pm UTC](https://community.dreamfactory.com/t/documentation-and-examples-on-sql/53 "2014-05-14T18:14:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benbusse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/benbusse/32/4_2.png) [@benbusse](https://community.dreamfactory.com/u/benbusse)\
**Post date:** [May 14, 2014, 6:14pm UTC](https://community.dreamfactory.com/t/documentation-and-examples-on-sql/53/1 "2014-05-14T18:14:50Z")

</div>

Setting up a secure proxy connection to a SQL database is straightforward.

If you need to see some SQL setup and query examples, check out these blogs:

- [Add a REST API to any SQL DB in Minutes](https://blog.dreamfactory.com/add-a-rest-api-to-any-sql-db-in-minutes)
- [SQL and REST - Working with Related Data](https://blog.dreamfactory.com/sql-and-rest-working-with-related-data)
- [Demo - How to Make Relationship Queries with DreamFactory’s REST API](https://blog.dreamfactory.com/blog/bid/316052/Demo-How-to-Make-Relationship-Queries-with-DreamFactory-s-REST-API)

There are also a few screencasts related to SQL:

- [Add a REST API to Your Own SQL Database](https://www.dreamfactory.com/developers/screencasts#remotesql)
- [Build a RESTful To Do List App with MySQL](https://www.dreamfactory.com/developers/screencasts#buildsql)
- [2 Minute Video Tutorial on How to Connect to an External SQL Database](https://www.youtube.com/watch?v=IOWX39f382E)

If you need to dig into the details of how SQL works with DreamFactory, take a look at the [Database Services](https://github.com/dreamfactorysoftware/dsp-core/wiki/Database-Services) page on the DreamFactory Wiki.
