To Print the last day of the month in SQL

1. In Oracle

2. In MySQL