How to show only one date only over a period of two days, which corresponds to 24 hours

Hello, I have a problem that I hope someone knows how to fix easily without having to create tables in a schema that things are moving very slow with our DBAs unfortunately because they have too much on their plates at the moment...

Here is an example of output that I wrote a SQL for:

SUM (COUNTS) DT

15 Aug 15 00:00:00 254046

16 AUG 15 00:00:00 113031

Now, how to display only 16 August 15 & 367 077 COUNTIES? :

SUM (COUNTS) DT

16 Aug 15 00:00:00 367 077

If the foregoing loses its formatting, I've included a screenshot below of the output currently I want:

sample.jpg

The reason is that one of the conditions was for a period of 24 hours, it is defined as 07:00 to 06:59:59 am the next day... of advice/ideas would be greatly appreciated!  I am using Oracle 10 g if that makes a difference.

I guess that DT Horus date up to a second. Deduct only 7 hours of DT and then truncate to nearest day:

SELECT TRUNC (DT - 7/24) DT.

SUM (PASS_COUNTS)

From your_table

TRUNC GROUP (DT - 7/24)

/

SY.

Tags: Database

Similar Questions

  • How to show only contacts online?

    I accidentally click on the button 'all' in the contacts and now I can't go back to showing only those online. Help!

    The button 'online' between Skype and all buttons should happen to you.

    --
    Entia non sunt multiplicanda praeter necessitatem.

  • How to show only layers with layer filtering layers?

    Is there a way I can have showing only the layers, files, colors, text, and al. I've worked with in a composition of specific layers in the layer panel? I thought I could achieve with layer filtering, but is the closest with "Selected", the problem is that I lose my folder structure I.

    Thank you in advanced for your help.

    Attribute > Visible (edit: with this layer selected either Comp)?

  • hidden admin account is unlocked, how to show only in Mode safe

    Recently, I've unlocked the Admin account hidden in my copy of Windows Vista Ultimate 64-bit.  Currently, the account presents itself as one account of another in the normal logon window, and icons for other users.

    I would like to know if there is a way to hide the account in the logon window and only allow him to show when it is safe mode is enacted (as in Windows XP).

    Hello

    This allows try again. It is not good to use the hidden administrator account, as this is the last possible road
    a difficulty if things go really wrong. So make another ADMIN account with your password even. You
    then have two accounts administrator and any number of user accounts set up (not to mention
    the moment hidden the ADMIN account).

    How to create a new user account in Vista (except to raise it to the status of ADMIN)
    http://www.Vistax64.com/tutorials/93009-user-account-create.html

    You can have the login screen requires a name and a password so well that you can open a session with a
    Account ADMIN, he is not named. Also we can connect with any valid user account.

    How to make Vista require a user name and password when connecting
    http://www.Vistax64.com/tutorials/89812-logon-username-password.html

    How to hide or show an account in Vista and Windows 7
    http://www.Vistax64.com/tutorials/94805-user-account-hide.html

    Then, as explained in the link mode without failure in the previous answer, that you can connect with any account
    you have available and enable the hidden account if necessary (which you shouldn't have to)
    two ADMIN accounts that you can use) while is safe.

    I hope this helps.

    Rob Brown - Microsoft MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How to show only images that do not have a card slot affected

    I just upgraded to PSE 11.  So far so good.  I am running Windows 7 64-bit, SP1.

    I would like to know how to find all my photos that do not have a card slot assigned to them.

    Is there a way to do this?  It can be built in, but so far I was not able to understand.

    Thank you.

    Title of the message was edited by: Brett N

    Hello

    I think that if you select the view of the places , the pictures shown are those you have already placed. If you then click Add locations (downstairs) film in the upper part shows the images that have not been placed.

    If you then place one of these images, a small icon appears in the film strip until you then close this window (click done).

    Hope that helps

    Brian

  • How to show only the PivotTable

    Hi all experts,


    In response, OBIEE (10.1.3.4.1), I created a PivotTable 4 measures based on the quarter and added a vertical stacked chart.
    now I want to display only graphic and block the view of the result pivot table,.

    how it will be possible please give suggestions,

    Thank you
    Hitesh

    Hello

    Check enable the chart table cross results and graphical Poistion drop-down Select graph only.

    Thank you
    Oldia...

  • new Windows 7 suspended twice over a period of 6 days...

    I bought the series sony vaio with windows 7 on it 6 days ago. During this period, he hung twice without my doing anything unusual. I restarted it by force. He started with success the next time without giving any error message. Can someone please help me and let me know if this is a known issue with windows 7.

    How your question about Windows Update?

    Contact the Sony Support under your warranty. ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I don't want to upgrade to 5.0 until my antivirus plug-n software is compatible. How can I avoid that Firefox bugging me to upgrade every two days?

    The nag screen to get update's coming two everyday when I click on "ask me later". This is not 'later' in my book, it's going to take longer than two words for my av provider update their plug-ins, I bet.

    OK, I know in the grand scheme of things, it is not a big problem but the ffs, same Adobe can get their head round, offering you a choice of way well before you want to be harassed again. And they used to be really demanding!

    A beta version of Avast is available: http://forum.avast.com/index.php?topic=80428.0

    Or, as in the second post in this forum thread "You can also uninstall webrep of your current avast to have compatibility with FF5."

  • How the identity if one table used only by synonyms and not by any other subprogrammes in a schema?

    Hi people

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    The ALL_DEPENDENCIES view has hierarchical information based on object_id

    The view object has the object_type.

    Create a hierarchical query on the first view and attach it to the second view.

    Or you can use the utldtree.sql file in the installation of the DB admin folder. Comments initially show you how a hierarchical query based on the object type.

  • the "Show all downloads" button shows only a download after it's over

    In Firefox, the 'Show all downloads' button shows only a download after it's over. It is similarly of the dialogue download library. Downloads occur, but you do not see the status until it is complete. It started yesterday, using Firefox 27. I upgraded to 28.0 but it still happens. I have also reset Firefox, nothing happens. I am running Windows 7.

    The answer was... Conduit search malaware himself had installed on my PC. Uninstalling it solved the problem.

  • How the police or the smaller pagesize. Right now, it shows only about 1/2 the page om a screen

    How can I make smaller screensize. Right now, it shows only about 1/2 page

    You can zoom the smaller pages until find you what's happening with your system.

    View > Zoom > Zoom out

    or Ctrl +-(c'est un signe négatif ou un trait d'Union)

  • My screen shows only 1/4 of the image. I can scroll to get up and down. How can I fix?

    My screen shows only 1/4 of the image.  I can scroll to get up and down.  How can I fix?

    Hello

    1. You did changes to the computer before the show?
    2. The problem occurs with a particular application or any application?
    3. If this happens with a particular application, then what is the name of the application?
    Method 1:
    Check if the Magnifier is enabled on your computer. Check out the link and follow the steps to change the size of the screen. Check whether the problem is resolved.
    Method 2:
    This problem may also cause if a computer monitor or the screen resolution is changed. Check out the link and follow the steps to change the resolution. Check if the problem persists.
    To change the screen resolution, see the link:
    Change your screen resolution
    http://Windows.Microsoft.com/en-us/Windows-XP/help/change-screen-resolution
    To change the monitor resolution, see the link:
  • Sidebar calendar shows only orange... not the data either

    My calendar loads in the bar but shows only an orange page.  There is nothing else... no data at all. I tried the tools without result; It only allows me to remove the calendar.

    If it's just the calendar gadget that gives you trouble, you should be able to simply re - record a single. DLL to rectify a calendar gadget that looks like this,


    First remove the existing calendar gadget, and then click Start or press on the key and type cmd but don't hit. Search for CMD in the list above and right-click and select run as administrator. Confirm the warning of the DSU and provide credentials if requested.

    The open command window, type.

    Regsvr32.exe vbscript.dll
    ... and click on . You will receive a popup confirmation as follows,

    Restart the computer and add the calendar on the desktop gadget. It should now work as follows,

    If the gadget still does not work, you can try a much more aggressive approach to my solution on this page.
  • My control panel shows only one user, but when I start it shows two users on the logon screen. and I know no other password

    My control panel shows only one user, but when I start it shows two users on the logon screen. My user is an administrator. But I do not know password of another user. I am currently using as an administrator. But I also want other user password. Answer please

    Your machine has only two accounts: admin and guest. I saw a few messages before which the poster makes an additional account on the log on screen that does not exist. Since there is not, it cannot be used.

    Also note that you play a game at high risk, having only one administrator account. This forum deals daily with posters including one and only the admin account went bad for one reason or other. Something about it now while you can: create, test, and document a spare, even admin account that you have a spare emergency House key.

  • How can I move photos from one date to another in my catalog? Downloaded LR of photos taken over several days to a date. LR6 PC Win7

    How can I move photos from one date to another in my catalog? Downloaded LR of photos taken over several days to a date. LR6 Win7 PC.

    Hi bubba43,

    Please select the images in the library grid mode Module and then drag and drop them in another folder you want.

    Kind regards

    Tanuj

Maybe you are looking for

  • MacbookPro has mind of its own

    The woman has a MacbookPro 2011.  It uses mainly for browsing (Facebook).  At has mentioned me a number of times while surfing, different pages seem to jut pop up or it opens a link when she does not choose this link.  I though it was imagine that, a

  • Facebook, play pogo, I get this message "cannot find the plot of pogo, xd does not.

    This happens when I try to play games pogo on Facebook, "couldn't find the frame of pogo, xd does not.

  • Pavilion m9367sc: .exe does not

    The computer has a m9367 Swedish, different from the American m9367, more power etc. Downloaded .exe files cannot start as normal. Windows asks me to run or save the .exe file, it asks me to open or save the .exe file. So, I have to choose a software

  • X 1 carbon 20A 7 HDMI not working not

    HDMI port doesn't work just hard for the video. The MiniDP port works fine. I tried to launch the Lenovo system update and don't have not seen any problems, then updated the Intel graphics driver but the problem persists. The computer can see monitor

  • DAQmx_Val_DMA; contradictory property

    Hello? Recently, I got an error about the DAQmxSetReadWaitMode() function. I used DAQmx_Val_WaitForInterrupt property but got an error saying that it is in conflict with the DAQmx_Val_DMA property. Given that I do not use DMA mode and any function fo