Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Head of the Department of Electronics in a college wants to see a list of students who secured less than the average marks of

The Head of the Department of Electronics in a college wants to see a list of students who secured less than the average marks of all the students. The data pertaining to the same is present in the STUDENT table. Which of the following query(s) can be used to accomplish the task? SQL QUERY
Select only one option
SELECT NAME FROM STUDENT WHERE MARKS <(SELECT AVG(MARKS) FROM STUDENT);
SELECT NAME FROM STUDENT WHERE MARKS < AVG(MARKS);
SELECT NAME FROM STUDENT HAVING MARKS <(SELECT AVG(MARKS) FROM STUDENT);
SELECT NAME FROM STUDENT WHERE MARKS IN (SELECT AVG(MARKS) IN STUDENT);

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes Browsers And Databases Data Mining Tools For Integrated Genomic Databases

Authors: Peter Schattner

1st Edition

0521711320, 978-0521711326

More Books

Students also viewed these Databases questions