Question

Add the following fields in the Table ‘SUBJECT’ – SUBJECT_ID, SUBJECT_NAME, AUTHOR_ID. Add 15 records in the table. 

10 Mar 2023
Answer :
Word Count : 808

To add the fields SUBJECT_ID, SUBJECT_NAME, and AUTHOR_ID to the existing SUBJECT table, and insert 15 records into it, we would follow a series of steps in a practical database management context, specifically using SQL.

Step 1: Alter the Table to Add New Columns

To begin, you need to modify the structure of the existing table to include the new fields. In SQL, the ALTER TABLE command is used to make changes to an existing table's structure. The command will add three new columns to the SUBJECT table:

 ALTER TABLE SUBJECT ADD COLUMN SUBJECT_ID INT PRIMARY KEY, ADD COLUMN SUBJECT_NAME VARCHAR(255), ADD COLUMN AUTHOR_ID INT; 
  • SUBJECT_ID INT PRIMARY KEY: This field is used to uniquely identify each subject. It is defined as an integer and will serve as the primary key.
  • _________ _______ ___ ___ ______.
    ___ _________ _______ _______ _____ _____ ____ ________ _________ ___.
    ___ _________ _____ ___ ______ _______ ___ __________.
    ___ _______ _________ ____ ______ __________ ______ ________ ___ ______ ____ ______.
    _________ _________ ________ _______ ________ __________ ______ _____ ____.
    _______ ___ ______ _______ ____ _______ _____ _____ _______ _________ _____ ______.
    ________ ______ _____ __________ ___ ________ ____ _______.
    _________ _______ _______ _____ ______ ______ _____ __________ _____ _______.
    ___ _____ ______ _____ ________ ________ ____.
    ______ ____ __________ _______ _______ _________ _________ ________ _______ ___ _________.
    ____ __________ ___ _____ ___.
    _________ ________ ____ ____ ____ _________ ___ __________ _____ ________ ______.
    ___ __________ ___ _____ __________ __________ _________ _______ ___ ____ ________.
    __________ ___ _______ _____ _________ ________ __________ _________ _____ ___.
    ____ _______ _________ __________ ________ ____ ________ _____ ___ _________ ________ _______.
    ____ __________ _________ ________ ____ ________ _______ ________.
    _____ ______ ______ _____ ______ _________ ____ __________.
    ___ ____ _________ ____ ___.
    _______ _____ __________ _________ ____ _______ _______ ___ _________ ___.
    ______ ___ _________ ____ ________.
    _____ ____ ____ ______ ______ _______ __________ ______ _____ ________ ____.
    ____ _________ __________ _______ _______ _______ ___ _________.
    _________ _______ ______ ___ ________.
    ___ ___ ____ ________ ___ __________ ________ __________ _____.
    ________ _______ _______ __________ __________ ___ _______ ___ __________ ________ _______.
    ________ _______ _________ __________ ____.
    ________ _____ _________ _________ ____ _____ ________ ________ _________.
    _____ _______ __________ ____ ______ ___.
    ___ ___ ______ ______ __________ __________ ________ ___.
    ______ ___ ________ ______ ___ _______ __________ _____ _____ ____.
    _________ ________ ___ __________ ______.
    ___ ____ ___ ________ ___ ___ ____.
    ________ _________ _______ _________ ______ __________ ________ ____ ___ ________ __________ _________.
    ___ ___ ___ ____ ____.
    ________ ______ _______ ________ ___ _________ _____ _______.
    ___ _________ __________ _____ ________ ________ _______.
    __________ _______ __________ ______ _____ ____ ___ _____ __________.
    __________ _________ ____ ____ _________ _____ ___ ____ _________ ________ _______ _____.
    _________ ____ _______ ___ ______ ___ ___ _______ __________.
    ___ _______ _______ ___ _____ ___ ____ ____ _______ ______.
    __________ __________ _________ ______ _________ _________ _________ ____ _____ ____ ______ ________.
    ________ ___ _____ ________ ________.
    ____ _____ ______ ______ _________ __________.
    _________ ____ ___ _______ ______ ___ ________ ____ _____ ______ __________ _________.
    ______ _________ ___ _____ _____ _______ ______ ____ __________ __________.
    ______ ___ _________ ___ _____.
    ________ ______ _________ __________ ________ ______ __________ ________ _________ __________ _____ ____.
    ______ ___ __________ _____ _________ ____.
    ______ __________ _______ ____ _______ ___.
    __________ __________ ___ __________ _____ ______ ___ ______ ____ _____ ___.
    ___ _________ ___ _______ ________ ____ ________ _________.
    ______ __________ __________ ____ __________ ________ ________.
    __________ ____ ____ __________ _____ _________ _____ ____.
    ______ ______ ____ _________ _____ _______ _________ ____.
    _______ _____ _______ ______ _______ _____.
    _______ ____ ___ ________ ___.
    ________ __________ ________ ________ _____ ____ _______ _________ ______.
    _______ _______ ________ ________ _______ __________ _______.
    ____ ________ ______ ___ ______ _____.
    __________ ___ _____ ____ ___ __________ ___.
    _____ _______ ________ ________ _____ ______ ______.
    ___ __________ _________ _________ ______ ____ ___.
    _________ _________ _________ __________ ________ ____ __________ _____ ________ _______.
    _________ ________ __________ __________ ________ _________.
    _______ __________ ________ ___ _______ _______ _______ _____ ________.
    ___ ______ ___ ___ ____ ______ ________ ________.
    ____ ________ ______ __________ _________ _______ _____ _____ ____.
    __________ _______ ___ _________ ________ _________ ____ _________ ________ _________ ________.
    __________ ___ _____ ________ __________ __________ ____.
    ____ _____ ______ ___ _________ ___.
    ____ __________ ___ _____ ___.
    _________ ____ ________ _____ _______ _________ _________ ____ _________ _______.
    _________ ____ ___ __________ ______ ___.
    __________ ___ ___ __________ _____ _________ ____ ______ ______ _____ __________ ____.
    _________ _______ ______ _________ ___ ______ _________.
    ______ ____ ______ _______ _____.
    _______ ____ ____ ___ ____ _______.
    ______ __________ ____ ______ _____ ______ _________ _____ _________ _________ ___.
    ______ _________ _____ ___ ________ _______ ______ ______ __________ ________ ______.
    ______ _____ ____ ________ ______ __________ _______ ________.
    ________ ________ __________ ________ _____ ___ _____ __________.
    ___ ___ ___ _______ __________ _____.
    Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Add the following fields in the Table ‘SUBJECT’ – SU
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→