IP 12 BoardPracPracticeQuestions PDF
IP 12 BoardPracPracticeQuestions PDF
3. Create following table - "Student" of the DataBase "Exam" as given and answer the
Queries as asked here, the fields of the Table are as given:
➢ StudId - int(4), Primary Key
➢ StudName - varchar(20) not null
➢ Batch - varchar(10)
➢ ExamDate – date
➢ Marks – float
➢ Stream – varchar
a) Insert 1 record(s) in the table as per your choice, one sample is as following
b) Write a query to Display maximum, minimum and sum of marks of candidates
c) Write a query to Display Maximum Marks of variouos Streams.
d) Write a query to Display Minimum Marks of different Streams those marks is more
than 50
e) Write a query to Display number students from commerce stream
f) Write a query to Display first two letters of candidatenames
g) Write a query to Display the average marks of stduents for each batch
h) Write a query to Display the name of the day of week including student name,
batch, marks
i) Write a query to Display the records of the student, who has scored the maximum
marks.
j) Write a query to Display records in Descinding order on Marks those have scored
less than 90
k) Write a query to replace the Student Name by "Shasmit Mishra" having student Id
"S005".
l) Write a query to Add a new column with DOJ of Date type
m) Write a query to Remove the column Batch
n) Write a query to update a column Stream with a size 20
o) Write a query to change the column name 'Marks' with 'Std_Marks
###