Skip to content
Advertisement

query for first and last day of month

If I have the name of the month, how can I have the first and last day of that month in SQL?

I have this query to returns the month names:

Result:

results

Now, how can i get the first and last day of that months? changing the query.

Advertisement

Answer

Try this :-

Result :-

Result obtained taking the help from this query

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement