Professional Documents
Culture Documents
Information Practices HW Answers
Information Practices HW Answers
Note: I had asked to sir on call about the confusion of rno and student id so sir
said u can do whichover you feel right he just wanted to see the query so I had
done my regards
Ans 1 := CREATE TABLE student (
Ans 2 := INSERT INTO student (rno, class, section, gender, name, dob, marks)
VALUES
(1, '10th', 'A', 'M', 'Ankit', '2005-03-08', 90),
(2, '10th', 'B', 'F', 'Ananya', '2005-04-09', 80),
(3, '11th', 'A', 'F', 'Arushi', '2002-05-10', 95),
(4, '11th', 'B', 'M', 'Rishi', '2002-06-11', 85),
(5, '12th', 'A', 'F', 'Kiara', '2001-07-12', 100),
(6, '12th', 'B', 'M', 'Harshal', '2001-08-13', 90),
(7, '10th', 'A', 'M', 'Vishesh', '2005-09-14', 85),
(8, '10th', 'B', 'F', 'Viddhi', '2003-10-15', 75),
(9, '11th', 'A', 'M', 'Zaid', '2002-11-16', 90),
(10, '11th', 'B', 'M', 'Aditya', '2002-12-17', 80);
WHERE rno = 1;
Output :=
FROM student
WHERE marks > 50;
FROM student;
FROM student
Ans 14 := SELECT rno, gender, name, dob, marks, email FROM student