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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started