# 예시 – 쿼리 디버깅

이 예제에서는 SQL Assistant에게 의도한 대로 작동하지 않는 쿼리를 디버깅하도록 요청하고 있습니다.

<figure><img src="https://2323536913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkwAsqOB1J9IgpMINH82I%2Fuploads%2Fgit-blob-db78f96e419d730936924ce0cb9958f32ad47387%2Fsql-assistant-3.png?alt=media" alt="sql assistant 3" width="563"><figcaption></figcaption></figure>

<figure><img src="https://2323536913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkwAsqOB1J9IgpMINH82I%2Fuploads%2Fgit-blob-9fab0be620c26a168e9217159e2850442df0510f%2Fsql-assistant-4.png?alt=media" alt="sql assistant 4" width="563"><figcaption></figcaption></figure>

SQL Assistant는 무엇이 잘못되었는지 식별하고 의도한 고객 이메일을 가져오는 데 필요한 올바른 쿼리를 제공합니다.

<figure><img src="https://2323536913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkwAsqOB1J9IgpMINH82I%2Fuploads%2Fgit-blob-a6d0e1fa43e10024f93c6cb5c4f35032764048ca%2Fsql-assistant-5.png?alt=media" alt="sql assistant 5" width="563"><figcaption></figcaption></figure>
