Test Index
CBSE Class 12 Computer Science 2024 Paper Set 4
© examsnet.com
Question : 29 of 35
Marks:
+1,
-0
Consider the table
Based on the given table, write SQL queries for the following :(i) Add the constraint,
Projects given below :Table : ProjectsP_id | Pname | Language | Startdate | Enddate |
|---|---|---|---|---|
P001 | School Management System | Python | 2023-01-12 | 2023-04-03 |
P002 | Hotel Management System | C++ | 2022-12-01 | 2023-02-02 |
P003 | Blood Bank | Python | 2023-02-11 | 2023-03-02 |
P004 | Payroll Management System | Python | 2023-03-12 | 2023-06-02 |
primary key to column P_id in the existing table Projects.(ii) To change the language to Python of the project whose id is P002.(iii) To delete the table Projects from MySQL database along with its data.
Go to Question: