From the course: Generative AI for Web Developers: AI-Powered Pair Programming for Full-Stack Development
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Use generative AI to help with queries
From the course: Generative AI for Web Developers: AI-Powered Pair Programming for Full-Stack Development
Use generative AI to help with queries
- Alright, so now that we've seen the basics of using Generative AI to help us actually create database schemas, and as I mentioned, that can really help us kind of put our best foot forward when we're generating an entire application with Generative AI, since it sort of serves as an agreed upon contract, so to speak, of what our data is going to look like, that the rest of our code is going to be working with and displaying. Let's talk about how Generative AI can help us with queries. So once we've created a database, we're obviously going to need to create a series of queries that our server can use to actually pull data out of that database and put it into the right format and make sure that it gets to the right place. So, Generative AI tends to be very, very good at this. And to demonstrate this, let's just take the... You know, what I'm going to do, I'm going to go back to ChatGPT where we generated all of these, we generated this, MySQL schema, all of these different tables, and…