8000 GitHub - Tanvi-Jain01/Accredian-backend-task: Accredian Backend Task
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tanvi-Jain01/Accredian-backend-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Accredian-backend-task

Accredian Backend Task

As User_email is the Primary Key hence No Duplicate Key Will be inserted in the Database.

User_name, User_pswd is Not Null.

Structure of Table (MYSQL)

Screenshot (1336)

SQL Commands

-- Database: test
'Create database test;'
-- This script is used to create a MySQL database named 'test'. -- To use this database, uncomment the 'use test;' line.


-- Table structure for table accrediate -- This section defines the structure of the 'accrediate' table.

CREATE TABLE accrediate ( user_email varchar(50) CHARACTER SET utf8 NOT NULL, user_name varchar(50) CHARACTER SET utf8 NOT NULL, user_pswd varchar(50) CHARACTER SET utf8 NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- This section inserts sample data into the 'accrediate' table.

INSERT INTO accrediate (user_email, user_name, user_pswd) VALUES ('tmj07042@gmail.com', 'Tanvi', '12345678');

-- Adds a primary key constraint on the 'user_email' column.

ALTER TABLE accrediate ADD PRIMARY KEY (user_email);

-- Commit the changes -- This command finalizes and commits the changes to the database.

COMMIT;

Table data

Screenshot (1338)

About

Accredian Backend Task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0