How will I know the semester in a date?

Hello, I have this query
SELECT 1949 + rowno_year | LPAD (rowno_month, 2, '0') MONTH_ID, to_char (to_date (to_char (1949 + rowno_year | lpad (rowno_month, 2, '0')), "YYYYMM"), 'MONTH', 'NLS_DATE_LANGUAGE = ENGLISH') MONTH_NAME,.
TO_CHAR (to_date (to_char (1949 + rowno_year | lpad (rowno_month, 2, '0')), "YYYYMM"), 'Q', 'NLS_DATE_LANGUAGE = ENGLISH') QUARTER_ID,.

Double A,
(SELECT ROWNUM DOUBLE CONNECTION OF LEVEL rowno_year < = 100) B,
(SELECT ROWNUM DOUBLE CONNECTION OF LEVEL rowno_month < = 12) c

How can I tell which half is the date?

And the four_month_period?

Thanks in advance

Hello

You can use CEIL(quarter_id/2)
where quarter_id is your evaluation logic.

Kind regards
sukhijank

Tags: Database

Similar Questions

  • How will I know "the size of a table special VS size of RAM"

    Hi all

    How will I know "the size of a table special VS size of RAM"?

    I should know because I want to understand what join method to use.

    Please correct me if my attempt to catch the truth is crazy.

    Thanks in advance.

    You can get the size of a table of DBA_SEGMENTS.  I'm sure you can get the amount of RAM of other tables of data dictionary as well if you can define precisely what memory segment you are interested in (e.g. CMS?)  PGA?  The amount of physical RAM on the box?  The size of the buffer cache?  The amount of virtual memory available?)

    That being said, comparing the two is not as significant.  You, as a developer, are generally not in the business of choosing a join method.  It's the job of the optimizer.  And the optimizer takes into account a range of data that you have not begun to ask about yet.  The size of the table is not even particularly relevant for calculations - the optimizer the amount of data operations are back, the relative size of the data on each side of the join, the availability of indexes, etc. are all much more important than the raw size of the table (but the raw size of the array is a factor in the assessment of the amount of data that is returned).

    Justin

  • How will I know the Creative Cloud Desktop app that an application no longer exists?

    I have installed Muse through the creative application of Cloud Desktop, tried, don't like it AND uninstalled it. (Or so I thought). However, the desktop application still shows CC Muse as "up-to-date" and lists the Muse CC 2014 in 'New versions available for applications installed'. How can I get rid of these, when I can't even find a trace of either on my Mac (including the new in Utilities folder)?

    CC desktop applications 'updated' lists when it is not installed

    http://helpx.Adobe.com/creative-cloud/KB/AAM-lists-removed-apps-date.html

    Cloud creation help / install, update or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

  • How do I know the difference between level data line in 2 dump files.

    Hello
    I had 2 dump files export different databases (to which I have access).
    They got the same tables and the same number of lines.
    How to compare data in tables (in the dump files).

    See you soon,.
    Malika

    user9131570 wrote:
    Hello
    I had 2 dump files export different databases (to which I have access).
    They got the same tables and the same number of lines.
    How to compare data in tables (in the dump files).

    See you soon,.
    Malika

    Why you want to do? What the company need? Without import it, it's not not possible to read the dump file *.

    Aman...

    * If you are using Data pump, you can make a sql file and can see items from the dump file.

  • How will I know when to load the mouse and keyboard on my IMAC?

    IMAC late 2015. El Capitan version 10.11.5. 1.6 GHZ. Intel i5 processor. 8 GB.

    How will I know when to charge my rechargeable keyboard and mouse? How can I tell when it is fully charged. Where can I find info on my IMAC so I must not ask about every little thing. The IMAC is new to me. Thank you

    The iMac will appear a message when is running out of power. Also you can check the charge level of your device from the Bluetooth icon in the menu at the top of the screen bar.

    Recharge the battery in your Apple - Apple Support accessory

  • IPhone 6 - How will I know what apps are underway in the background?

    IPhone 6 - How will I know what apps are underway in the background?

    On multitasking on your iPhone, iPad and iPod touch - Apple Support

    Scroll to the bottom where he treats background App update!

    You can visit these settings under settings > general > background App update.

  • How will I know if my magic keyboard is in charge? And how know when it is done load so I can unplug the charger of lightning?

    How will I know if my magic keyboard is in charge? And how know when it is done load so I can unplug the charger of lightning?

    I remember reading that the charging time is about two hours.   If you have exhausted the battery it may well take longer.    After the period of two hours, he must run for about a month in any case if you could take the charger after 2 hours.    But I remember also as statements using the old MM1 mouse with rechargeable batteries Apple and stand-alone charger.    MIne has quickly reduced by about 14 days and now its down to 7 days.

  • How will I know if my Airport Extreme has the latest firmware?  And (not related) how to change the password used to connect to my network?

    I think I bought the latest version of Airport Extreme.  It is the unit which is rectangular, is about 6 to 7 w., etc.  I have some basic questions that I do not understand:

    1. How will I know if I have the latest firmware for this device?  I read a few posts that make it sound as if it was just automatically updates.  Is this true?

    2. can someone tell me how to change the password used to connect to my wireless network?

    Thank you very much!

    Chris

    If a firmware update is available, AirPort Extreme flashes orange.

    The most up-to-date version of the firmware is 7.7.3.

    You can see what version you currently have the following on your Mac...

    Open Finder > Applications > utilities > AirPort Utility

    Click on the image of the AirPort Extreme

    Look for the Version

    If the new firmware was available, you will see a button update here

    To change the wireless network password...

    Click on edit in the window smaller than you watched just to check the firmware version

    Click on the Wireless tab at the top of the next window

    Go back / change the wireless password and enter a new password

    Do the same thing to check

    Click Update at the bottom right of the window and give the airport a minute full for restart

  • How will I know if the Satellite A100-216 has a pad dual mode?

    Hello

    This week, I bought my laptop, and in the manual it says that some models of this series got pads dual rather than just a mouse pad. How will I know if my model is it?

    What I need to enable something, or would it just work automatically if it is on my laptop?

    If your touchpad does not resemble this:
    http://reviews.CNET.com/SC/31812922-2-440-DT1.gif

    you do not have the dual mode button.

  • How will I know if my songs are in the cloud using itunes game?

    I just purchased iTunes game.  How will I know if my songs are in the cloud?

    Hello

    Read this on iCloud library icons and status - Apple Support

    Jim

  • How will I know if my mini ipod 4th generation is in charge? The blinking not solid.

    How will I know if my Mini Ipod 4th generation is in charge.

    I plugged it in - the blinking not solid.

    It's an iPod shuffle, right?  Small place with design clip - on and no screen...

    Blinking light means DO NOT DISCONNECT, because the iPod disk is mounted by the system.  EJECT iPod (in iTunes) before physically disconnect the iPod.  If you eject , but leave it connected, the light becomes solid.  (Yellow or green) light means OK TO DISCONNECT.  When it is yellow, the battery charge.  When it is green, the battery is fully charged.

    NOTE: In the normal conditions of use, flashing light is always yellow; It's supposed to be a warning.  It does not indicate the State of the battery; never it flashes green.

  • How will I know if I am being charged for the use of data on the mini2 ipad

    How will I know if I am to be charged or billed for usage on my ipad mini data 2?

    Hello

    You can be charged for the use of data on an ipad, if it has a SIM card

    Cellular data.

    If your home wifi is unlimited you will not be charged more.

    Unless your WiFi has a hat of data ie download limit.

    See you soon

    Brian

  • How will I know when the capsules are on?

    Original title: caps Inspiron 1545?

    How will I know when the capsules are on?

    Hey, Vince,.

    Caps lock key are you referring?

    If you look above the keyboard on the right, you will see two fires instead of one.

    In addition, you will type in uppercase when the key is turned on

  • How will I know if I have the bluetooth... IdeaPad Y530

    How will I know if I have the bluetooth. I just received this IdeaPad Y530. On the sticker on the bottom is a MO:AB08102003.

    I type "bluetooth" in the search box of windows and a window opens for bluetooth devices and there a task click on bluetooth settings, but nothing happens when I click it.

    On your keyboard, press 'Fn + F5'. It should appear a wireless device management utility. If you have a bluetooth device on your laptop, it should show a card 'Wireless' and 'bluetooth device.

  • How will I know if the update of the firmware which is due a minuite was released?

    How will I know if the update of the firmware which is due a minuite was released?

    And how do I know the improvements and stuff?

    Thank you

    SR

    SR - rox wrote:

    How will I know if the update of the firmware which is due a minuite was released?

    And how do I know the improvements and stuff?

    Thank you

    SR

    The new firmware is displayed in the thread to update the Firmware Sansa Fuze, which will be reset and cleaned. The change log will be part of the first post in this same thread. In addition to this it will be impossible to miss. People will speak on this subject.

Maybe you are looking for