I am having 1 table with date, stock and price data for all stocks. I want a sql query which will display the date, stockname1, stockname2, stockprice1 and stockprice2 for the 2 stocks I mention and the date range I mention and date should be common to both stocks. If stock1 has a price on lets say 1-Jan-2010 but stock 2 doesnot have a price on that date, the record should not come, only dates where both stock have a price should be displayed.
Thanks
Software/Hardware used:
SQL Express 2005
ASKED:
June 17, 2010 7:58 AM
UPDATED:
June 17, 2010 5:10 PM