Skip to content
Advertisement

How to select every Friday for the last six months?

I am working on the currency table. I need to get every Friday for the last six months. My query selects every day between two dates. Here my query

OUTPUT

OUTPUT(Should be)

Thanks for helping.

Advertisement

Answer

Not clear if you are looking for Oracle or MS SQL-Server. In case you need it for Oracle you can use

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