Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

creating table in sql

CREATE TABLE courses(
    course_id INT NOT NULL AUTO_INCREMENT,
    course_name VARCHAR(50) NOT NULL,
    PRIMARY KEY (course_id)
);

INSERT INTO courses(course_name)
VALUES('Btech'),
('BCA'),
('MBA');
Source by www.yahoobaba.net #
 
PREVIOUS NEXT
Tagged: #creating #table #sql
ADD COMMENT
Topic
Name
5+7 =