The following questions relate to a table below:
Stock_Ticker Analyst_Name Rating_Date Rating_Name
G Abramson 6/9/09 Hold
G Abramson 1/20/10 Sell
G Jones 12/5/09 Buy
Write an SQL query that would select the latest recommendation from each analyst for each stock.
Write an SQL query that would select the latest recommendation from each analyst for each stock as known on a specific date (e.g. 1/1/10).
Indicate problems that you see with this table design. How would you go about amending this data structure?