# Dgraph Day Workshop - Migrate SQL schemas to Dgraph types and build a social network

**URL:** <https://discuss.dgraph.io/t/dgraph-day-workshop-migrate-sql-schemas-to-dgraph-types-and-build-a-social-network/13522>\
**Category:** Dgraph Day\
**Tags:** workshop\
**Created:** [April 2, 2021, 4:48pm UTC](https://discuss.dgraph.io/t/dgraph-day-workshop-migrate-sql-schemas-to-dgraph-types-and-build-a-social-network/13522 "2021-04-02T16:48:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoe](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/zoe/32/5290_2.png) [@zoe](https://discuss.dgraph.io/u/zoe)\
**Post date:** [April 2, 2021, 4:48pm UTC](https://discuss.dgraph.io/t/dgraph-day-workshop-migrate-sql-schemas-to-dgraph-types-and-build-a-social-network/13522/1 "2021-04-02T16:48:01Z")

</div>

![manish-dgraph](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/0/09be7a7d73016432d64bc3471153c34c69c2f160.jpeg)

## Migrate SQL schemas to Dgraph types and build a social network

**Presented by Aman Bansal, Anurag Sharma, and Manish Jain of Dgraph Labs**

_April 15, 10:30 - 11:30am PT / 1:30 - 2:30pm ET_

Social networks yield themselves naturally to graph structures. Queries in social networks pertain a lot to traversing edges, filtering on inner nodes, and arbitrary depth joins. In this workshop participants will learn how to model a social network on Dgraph.

You will also compare Dgraph types vis-a-vis SQL schemas and understand the strengths of native graph DBs. You will dive into the nitty-gritty of converting SQL queries into DQL queries and the best practices around it. Learn to identify the strengths and expressiveness of Dgraph’s query language and also get a template to follow for migrating SQL schemas to GraphQL types. A hands-on session with live coding and Q&A; some familiarity with SQL would be nice but is not compulsory.

### Haven’t signed up for the free conference yet?

[Get your free tickets now](https://dgraph.io/dgraph-day?utm_source=discuss&utm_medium=social&utm_campaign=DG_EV_DD_US_ZH_3-2021)!
