Skip to content
Advertisement

How to write a loop for such sql query

I need to write such query:

What is a way to avoid writing 1440 lines in a query?

Advertisement

Answer

Try the below method (Change the variables to match your table and field)

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