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

SQL Create Table Student (

A SQL table named 'student' has been created with fields for student ID, name, address, city, department, and grade. Several records have been inserted into the table, including students with various details. The data includes students from different departments and grades, all residing in specified locations.

Uploaded by

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

SQL Create Table Student (

A SQL table named 'student' has been created with fields for student ID, name, address, city, department, and grade. Several records have been inserted into the table, including students with various details. The data includes students from different departments and grades, all residing in specified locations.

Uploaded by

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

SQL> create table student(

2 student_id number(5),
3 student_name varchar(10),
4 student_address varchar(10),
5 student_city varchar(10),
6 student_department varchar(10),
7 student_grade varchar(5));

Table created.

SQL> insert all


2 into student (student_id,student_name,student_addr
rade)values(1,'ali','saddar','karachi','CS','A')
3 into student (student_id,student_name,student_addr
rade)values(2,'aliyana','saddar','karachi','CS','B')
4 into student (student_id,student_name,student_addr
rade)values(3,'komal','saddar','HYD','ACCA','A')
5 into student (student_id,student_name,student_addr
rade)values(4,'muskan','saddar','shahdadpur','BBA','C')
7 into student
(student_id,student_name,student_address,student_city,student_department,student_g
ade)values(5,'Hira','saddar','karachi','CS','A')
8 into student
(student_id,student_name,student_address,student_city,student_department,student_g
ade)values(6,'chandni','saddar','karachi','CS','A')

You might also like