Vous êtes sur la page 1sur 1

Creating tables:

Create table (table name) ( Field1 Type of field, field 2 type of


field , field3 type of field );
Student id, student name, course
Create table student_details ( student_id VarChar(5),
student_name Varchar(50), course_details char(5));

Select student_id as student_dup, student_name as


student_dup_name, course_details as course_dup from
student_details into student_copy;
Alter table student_details add (teacher_name varchar(50));
Update student_details set student_id = BCD where
student_id = ABC;
Delete table student_details where student_id = ABC;
Insert Student_details (student_id, student_name,
course_name) Values (ABC, Deepak V, PHYIC);
Quote_Header, Quote_details field Quote_id
Quote_header ( quote_no, quote_date, quote_customer,
quote_salesman, quote_total

Vous aimerez peut-être aussi