nerdexam
Microsoft

98-361 · Question #315

Your application connects to a SQL Server database that contains a table called Employees with the following columns: - EmployeeID (int, identity) - EmployeeType (char(1)) - EmployeeDate (datetime)…

The correct answer is A. SELECT * FROM Employees. See the full explanation below for the reasoning.

Question

Your application connects to a SQL Server database that contains a table called Employees with the following columns:

  • EmployeeID (int, identity)
  • EmployeeType (char(1))
  • EmployeeDate (datetime)

You need to write a query that selects all rows from the table where the EmployeeType value is either C or T. Which statement should you use?

Options

  • ASELECT * FROM Employees
  • BSELECT * FROM Employees
  • CSELECT * FROM Employees
  • DSELECT FROM Employees

How the community answered

(21 responses)
  • A
    86% (18)
  • C
    10% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice