# SQL with tables

**URL:** <https://forum.code.org/t/sql-with-tables/23341>\
**Category:** Uncategorized\
**Created:** [December 10, 2018, 6:22pm UTC](https://forum.code.org/t/sql-with-tables/23341 "2018-12-10T18:22:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![philhartman](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philhartman](https://forum.code.org/u/philhartman)\
**Post date:** [December 10, 2018, 6:22pm UTC](https://forum.code.org/t/sql-with-tables/23341/1 "2018-12-10T18:22:25Z")

</div>

Greetings,  
I’m really enjoying working through CSP Unit 5 - Building Apps ('18-'19) with my students. Is it possible to run SQL queries with the tables/data?

I appreciate your help!

---

<div class="post-metadata">

**Author:** ![philhartman](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philhartman](https://forum.code.org/u/philhartman)\
**Post date:** [December 11, 2018, 7:39pm UTC](https://forum.code.org/t/sql-with-tables/23341/2 "2018-12-11T19:39:47Z")

</div>

Anyone know either way on this?

---

<div class="post-metadata">

**Author:** ![gtwrobel](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/gtwrobel/32/3576_2.png) [@gtwrobel](https://forum.code.org/u/gtwrobel)\
**Post date:** [December 11, 2018, 9:24pm UTC](https://forum.code.org/t/sql-with-tables/23341/3 "2018-12-11T21:24:31Z")

</div>

Hey @philhartman if you read the documentation for the “readRecords” block there is a way to filter the rows you pull down from your table. There’s no full SQL syntax, however.

Hope that helps!
