nerdexam
GIAC

GSSP-NET · Question #155

Holmes works as a Programmer for HiTech Institute. He develops an ASP.NET application named LibraryRecord by using Visual Studio .NET. The LibraryRecord application uses a SQL Server database named…

The correct answer is D. Use the WHERE clause in his query. See the full explanation below for the reasoning.

Question

Holmes works as a Programmer for HiTech Institute. He develops an ASP.NET application named LibraryRecord by using Visual Studio .NET. The LibraryRecord application uses a SQL Server database named Database1. Database1 contains two tables: Students and Books. The Students table comprises three columns: StudentID, StudentName, and BookID. The Books table comprises two columns: BooksID and BooksName. Holmes creates a stored procedure that returns the records of all students who borrowed books from the institute. What will Holmes do to retrieve the records of the issued books most efficiently?

Options

  • AUse the INNER JOIN keyword in his query.
  • BUse the INNER JOIN keyword more than once in his query.
  • CUse the LEFT OUTER JOIN keyword in his query.
  • DUse the WHERE clause in his query.

How the community answered

(46 responses)
  • A
    9% (4)
  • B
    4% (2)
  • C
    15% (7)
  • D
    72% (33)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice