Question: SQL Query Interview Suppose the following dbo.LoanStatements table was given to you. All the records of the table are shown below. Each record shows when
SQL Query Interview Suppose the following dbo.LoanStatements table was given to you. All the records of the table are shown below. Each record shows when the statement was sent. LoanID StatementDate OriginalLoanToValue 1 03/15/2005 0.80 1 04/15/2005 0.90 1 05/15/2005 0.90 1 06/15/2005 0.90 2 08/15/2017 66.7 2 09/15/2017 66.7 2 10/15/2017 0.50 3 10/15/2017 0.66 4 10/15/2017 0.55 Questions: 1. Write a SELECT statement (or multiple statements) that returns the following result set
LoanID OriginalLoanToValue 1 0.90 2 0.50 3 0.66 4 0.55 2. How many statements were sent in 2005? In 2017? Please show the SELECT statement (or multiple statements).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
