Priya created a database of her classmates and entered 30
records in it. The teacher has asked to show the data of
those students who have scored less than 50% marks.
Suggest her the method to apply this criterion.
Answers
Answered by
1
Answer:
SELECT <NAME> FROM <TABLENAME> WHERE <PERCENTAGE_MARKS> <50;
Here NAME is the column name containing all students name. TABLENAME is the table which is stored in database having NAME and PERCENTAGE_MARKS as attributes or columns. PERCENTAGE_MARKS is a column having percentage of all 30 students in the database.
Similar questions