Use ChatGPT To Comment Your SQL Queries

preview_player
Показать описание
Another decent Analytics use case for ChatGPT is adding human readable comments to your SQL code.

This is one of the things ChatGPT is already pretty good at (and it will definitely get better).

You might use this for a couple of different scenarios:

1) you've put together some lengthy code that you now need to clean up to share with your coworkers (or your future self)

2) you've been handed some inherited code and want some help commenting it up

Now, there are certain nuances that AI tools like ChatGPT just aren't going to understand, like...

- why you cut the data off at a certain point
- why the code overwrites value X as value Y during a certain period

Things like this, are really best done by the person creating the code initially. They have that context.

And of course, we want everyone to comment their own code in general.

Using ChatGPT is just a shortcut to help do **some** of the heavy lifting.

Learn more about ChatGPT for Data Analytics!

Happy learning!

Want to learn data analysis and business intelligence? Our guided learning model gives you the flexibility to create your perfect path, with live support and expert coaching to keep you on track every step of the way.

Want to practice your skills? Explore and download sample datasets hand-picked by Maven instructors. Apply your data analysis and visualization skills to real-world data, from flight delays and movie ratings to shark attacks and UFO sightings.
Рекомендации по теме