Results 1 to 8 of 8

Thread: Query Issue

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Question Query Issue

    The following inner querey return 9/9/2012 7:45:21 AM .
    so simple i want all the records from OracleTradingSummaryDetail .which is matching with
    SELECT Max(TradingSummaryStatus.UPDATEDTIME

    but when i running the following query it is asking UpdatedTime as a parameter .why ? it needs to show all the matching rows .
    Code:
    SELECT *
    FROM OracleTradingSummaryDetail
    WHERE UPDATEDTIME=
    (SELECT Max(TradingSummaryStatus.UPDATEDTIME) as LastSalesDate
    FROM TradingSummaryStatus
    WHERE Status<>'C');
    Last edited by firoz.raj; Sep 19th, 2012 at 12:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width