> I'm going to echo what /u/SirGreybush said. You need to take a basic, structured, preferably well-edited/checked (for accuracy) SQL Server course. You should don't be using ChatGPT for this.
Using ChatGPT at this stage, you don't know the right questions to ask it (or the right way to ask the questions you have), **nor do you know when it's giving you an accurate/correct answer.**