0% found this document useful (0 votes)
6 views1 page

ChatGPT 1

Uploaded by

bbingandadi3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

ChatGPT 1

Uploaded by

bbingandadi3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

12/11/2024, 14:53 ChatGPT

ChatGPT

Here is a detailed guide to complete each step of this task using SQL in XAMPP
(phpMyAdmin).

Step (a): Create a database called REGISTRATION


In phpMyAdmin, run the following SQL command to create the database:

sql Copy code

CREATE DATABASE REGISTRATION;

After running this command, make sure to select the REGISTRATION database to use it
for the following steps.

Step (b): Create a table called CLASS1 with the specified columns
In the REGISTRATION database, create the CLASS1 table with the columns EnrolID
(Primary Key), Surname , Name , Age , Gender , and Religion . Run this command:

sql Copy code

CREATE TABLE CLASS1 (


EnrolID INT PRIMARY KEY,
Surname VARCHAR(50),
Name VARCHAR(50),
Age INT,
Gender VARCHAR(10),
Religion VARCHAR(50)
);

Message ChatGPT

ChatGPT can make mistakes. Check important info.

https://chatgpt.com/c/67334f5d-2dc8-800e-b71d-b39422936e90 1/1

You might also like