MCQs > Database Management > Transact-SQL (T-SQL) > Given a table with the following structure, which query returns all student names with the highest grade? CREATE TABLE Students (StudentName varchar(50),Grade int );

Transact-SQL (T-SQL) MCQs

Given a table with the following structure, which query returns all student names with the highest grade? CREATE TABLE Students (StudentName varchar(50),Grade int );

Answer

Correct Answer: SELECT TOP(1) WITH TIES StudentName FROM Students ORDER BY Grade DESC;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Transact-SQL (T-SQL) Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Transact-SQL (T-SQL) Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it