Q. Write a query against table PAYDAY that will show the number of days between the payday (CYCLEDATE column) and the last day of the month (LAST_DAY function).

 
 
 
Month Days between payday and first days of next month
-------- -------
January 16
February 13
March 16

Format your results as below:


Answer = 

Select Month , CYCLEDATE - LAST_DAY as Days between payday and first days of next month from payday ;

 

6 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post