Explain

Hello

Can someone this query?


Select last_name, hire_date, to_char(hire_date,'Day') day, to_char(hire_date-1,'d')
employees
order of to_char (hire_date-1, 'day');


AR,

OK, maybe I explaining well...

You are displaying hiredate, but you order by hiredate - 1

As explained above, when you use the format mask 'day', he will order as 'Friday', 'Monday', 'Saturday', 'Sunday', 'Thursday', 'Tuesday', 'Wednesday' (for date of hire - 1) so when you view hiredate you will see in the order 'Saturday', 'Tuesday', 'Sunday', 'Monday', 'Friday', 'Wednesday', 'Thursday '.

The date format mask would be "on the other hand returns a number 1-7 for the day of the week, 1 being Sunday, so he removes 1 date of hiring and to convert a number from 1 to 7, so values when hiredate-1 is a Sunday will sort all first know where hiredate is a Monday and then will sort in the day of the order of the week from there."

Hope this clears up things.

Tags: Database

Similar Questions

  • Please explain how to delete a computer IMAC?

    Please explain how to delete documents and files from my office? Why simple Apple does not offer an option to delete above under edit. This totally baffles me? How much easier would it be? I'm not tech savvy so I end up saving multiple copies of the same thing. Please help me, my inability to delete anything on this computer either this Apple drives me crazy and I can't face is no longer with this computer.

    Select them and press the command and DELETE keys, then choose Empty trash from the Finder menu. The menu option to remove is on the file menu.

    (145043)

  • Email rec'd 'a device began synchronizing with devices connected to your Firefox account' Please explain

    What is happening with my account of Firefox? I received an email as follows: «a device started syncing with devices connected to your account in Firefox» If there is a security problem, Firefox's history on all my computers. Please explain what is happening here quickly. I think I'll remove the Firefox browser everything and start over with someone else. I can't take risks with my information.

    This isn't a security problem. With the team of Mozilla Sync, I have confirmed that it is an email waiting turning Sync in Firefox on a new computer, tablet or phone. In the future, they will cease to send this type of email to avoid worrying people.

  • How can I put someone other iCloud for my computer account? I'm on my mothers iPhone account and I don't have physical access to its features, nor can I explain to heehaw to do itself.

    How can I put someone elses iCloud account from my computer? I'm on my mothers iPhone account and I do not have physical access to its features nor can I explain how do it herself.

    No, but you can use a remote control program and do it yourself. Try Teamviewer, or similar.

  • Can someone explain these activities on my computer?

    Hello

    Can someone explain these activities? 2 weeks ago I put my computer again on the apple store, because I had strange things on my computer (disabled USB ports, I could start my computer in safe mode only) as a zombie. Now I have again the strange activities:

    I discovered, that this activity does not appear, when I create a new guest account and we who count for surfing the internet. Can someone explain to me what is happening on my computer?

    Stefan sincerely

    Can someone explain to me what is happening on my computer?

    There is nothing unusual is happening on your computer.

    All these processes are normal.

    Messages in the Console are especially for developers to find bugs and improve performance. They almost never mean anything for a normal user.

  • Who should I send the photo to Clipboard to my problem? This is the only way to explain the problem that I had for a long time, not only the latest version

    Can I have an e-mail address to send a JPEG of the problem? I have found nothing to resolve this matter and wishes to show to someone, doesn't seem to be a way to explain it. Thank you

    Try turning off hardware acceleration.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    If disable hardware acceleration works then check if there is an update available for your graphics display driver.

    Try disabling the transparency of the windows.

    See [804050/questions/804050]

    Right-click in the free space on your desktop.

    Left click on personalization.

    There are four options at the bottom of the screen, select 'window color and appearance '.

    Select a border color

    Uncheck the box: "enable transparency".

  • I continue to receive reports of Norton that a download with the pre RadioWMPCoreGecko fix. followed by various suffixes like "19.dll" or 05, 06 08 etc... takes a lot of computer resources. Can you explain what it is, as I understand it, it is called by F

    I continue to receive Norton Security reports that a download with the pre RadioWMPCoreGecko fix. followed by various suffixes like dll '19.dll' or 05.Marco, 06 08 etc... takes a lot of computer resources. Can you explain what it is, as I understand it, it is called by Firefox.

    This DLL can be part of a Firefox extension.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Explain the tools > "Synchronize now".

    Firefox Sync is running on my four computers. Sometimes a new bookmark on one machine fits on one of the others in a few minutes, sometimes not.

    Tools contains a "Synchronize now" feature, but there is nothing to explain what it is supposed to do. It download favorites of the device, I am currently working on the Mozilla Server? Download it from the server to any device I'm trying? I need to use it at all - or synchronization will automatically? How long does it take to complete?

    It would be useful to have a place explaining when and how to use "Synchronize now" and what to expect when I do some instructions.

    Hello!

    Thanks for the comments.

    As you suppose correctly, what the sync now button is to force a synchronization of the real machine with the info about the server. Because of this, it will be:
    -Download any changes made locally.
    -Download all change has been done remotely and it has not been registered.

    Progress is something he does not appear again, the team working on it and it would soon be available.

    As a general rule, the synchronization is done automatically and you should not have this button. It is intended to synchronize when you're looking to get there "now" (which means that you are about to close Firefox and you want to have the info in your work computer later that day).

    I hope that clarifies things.

  • I can't find a way to sort the records themselves in alphabetical order by name. I speak not in a display mode, but in how they appear when I click on the tab my favorites. Can someone explain to me how to do this.

    I have a lot of issues of brand book with websites contained in each folder. I'm able to sort sites within each folder alphabetically by name, but I can't find a way to sort the records themselves in alphabetical order by name. I speak not in a display mode, but in how they appear when I click on the tab my favorites. Can someone explain to me how to do other than manually by dragging because it is extremely difficult for me, due to the fact that I am with limited movement tetraplegic hand dexterity

    Folders of bookmarks you created are in the folder Menu bookmarks. "Sort" this folder.

    http://KB.mozillazine.org/Sorting_bookmarks_alphabetically

  • How is Samsung TV, possible to permanently hide the message that explains how to use Air play via Apple TV?

    How is Samsung TV, possible to permanently hide the message that explains how to use Air play via Apple TV?

    Apple Tv has the conference room mode turned on causing the message to appear.  Turn it off:

    On restrictions of airtime and the mode of the conference room on your Apple TV - Apple Support

  • Compaq Presario cq62: can someone explain why you need recovery disc?

    Look, I want to buy a new drive hard because one broke, and when I install it on my pc (I'll have to recovery disk)? or I can install windows instantly?

    Hello

    Broke is a term very vague for a HARD drive, and if the HARD drive has some life left in it, then a clone may be possible.

    You do not have need of recovery disks, you can return your system to factory fresh, but change to another OS you have it means you don't need the recovery disc.

    As explained the situation with the drivers and applications means that you struggle to get a stable system, and the new approach factory denies all this trouble.

    If there is life in the old disk HARD a game of media recovery can be able to produce from it, perhaps a clone would also give this option, but only a remote possibility.

  • explain why exclusive carrier

    I want to buy bike Z Force when it comes out, but it will be ATT or Verizon exclusive.

    How is it still useful. I don't understand.

    Can someone explain why can't not just normally buy this phone unlocked in europe when it comes out?


  • Can someone explain how to clean the screen of the iPad?

    Ok. MY iPad screen continues to become dirty when I use a cheap touch screen stylus. Can someone explain how to clean iPad screen?

    See here: cleaning of your Apple - Apple Support products

    -AJ

  • X 8 Dual Gigabit Ethernet Port Aggregation easily explained?

    Can you explain what that means?

    • Dual Gigabit Ethernet Port Aggregation

    In a totally non savy way

    @careyjames LACP is not available in AP mode.

  • T430s will not restart, can someone please explain how to use the 4 recovery discs?

    So I bought a Lenovo T430s, with Windows 8.1 almost 2 years (off warranty now). It comes frozen, has started to beep, then turns off, and now it won't restart. When I turn it on, it always goes to the black and blue screen that offers a Boot Menu and a Menu of Application. The Start Menu has 2 options: ATAPI CDO: MAST * beep * ADVD - RAM UJ8C2 and PCI LAN: IBA GE Slot 00C v1536 8.

    When I bought the laptop, it came with 4 disks. Two of them say "Windows 8 Recovery for Windows 8 Media products", and the other two say "operating system recovery disc, Windows 8 Pro (OEM Activation required 3.0)". "

    I don't know what that most of this way. Can someone explain how I can fix or restart my laptop? I wonder if I am supposed to use a bootdisk of some, although it is at a certain menu option... I really appreciate any help

    The first item in the Startup tab is 'Boot', Yes?

    Press enter and start > splash screen should display with something like a list of the Boot priority order .

    What do you see that listed there?

    Kind regards.

  • Explain the copy / paste of confusion

    I don't understand the command and paste operation using the shortcut command + C and command + V and command + X does not work.  Maybe it's not supposed to?

    When I'm on the desktop I can click on a file, then press command-C and it copies the file to the Clipboard. Fine.

    So I want to put it in another folder on the desktop, if I click on this folder ONCE. I then press command + V.

    The file from the Clipboard is now copied to the desktop, not in the folder I clicked on and thought has been selected.

    To get the file to the folder on the desktop I clicked ONCE, I have to click TWICE instead and actually open it before proceeding with the command + V.

    I do not understand this operation. I thought clicking on it once, chosen and this is where my file should have been copied to.  Can you explain?

    In addition, the command + X not work on Mac.  Previously on a PC, I would select a file, do a Ctrl + X, go to a destination folder and do a Ctrl + V and the file has been moved. I didn't have to go back and delete as a copy and paste and remove it. This does not work on a Mac?

    Open the folder that you want to paste in. Cmd + X does not cut (in the finder).

Maybe you are looking for

  • Post-Sudo Terminal error purging

    I ran sudo purge and wound up with this screen.  Now when I type other commands in the Terminal that they DO NOT WORK.  How can I get rid of this and get back to my normal command prompt?

  • How do you download Firefox on a laptop Windows 8? Never RUN the dialog box.

    I have a problem with everything I try to download. After that I click on download, I don't me the dialog box RUN. The computer shows it has downloaded the file, asks if I want to open or save, but does not execute the executable file no matter what

  • Re: Can I install Win7 on my laptop Satellite NB?

    Hello I took a photo with the webcam and has always been, it appears at the beginning of the pc before the password.Yet, she is no longer in the folder "image film library. I think it's great, how can I please delete? Another question: is it possible

  • MSN Messenger crash

    Hi every time that windows starts up I get the following error and messenger accidents: Signature of the problem: Problem event name: APPCRASH Application name: msnmsgr.exe Application version: 15.3.2804.607 Application timestamp: 4c0d8a2e Fault Modu

  • Z10 blackBerry cannot Z10 version os level

    Dear friends,  Defects with the screen on my Z10, I would return the unit I have temporary use (Z10 too), because my provider has given me a new warranty.  The problem is that trying to make the complete transfer of the data from the blackberry link,