Krishna
Krishna
Krishna
Step 1
Open your database management system
(DBMS) and select the option to
create a new table.
Step 2
In the design view, enter the field
names as follows: ID, Name, Address,
Phone, and DOB.
Step 3
Set the data type for each field: ID
as Integer, Name as Varchar, Address
as Varchar, Phone as Varchar, and DOB
as Date.
Step 4
For the ID field, set the constraint
to be the Primary Key to ensure each
record is unique.
Step 5
Review the table design to ensure all
fields and data types are correct.
Step 6
Save the table with the name
'STUDENT'.
Final Answer:
The table 'STUDENT' has been created
with the specified fields and
constraints.
2.Foreign key:-
Q15.A)
Ans-
Create table items
(Item no integer Primary key,
I name varchar(15), Price
numeric(10,2), Quantity integer (3));
B)