Answer the question
In order to leave comments, you need to log in
How to split one row in a table into several?
For example, there is an entry in the
database table work_times
id: 1
date: 08/20/2020
time_start: 14:00
time_end: 18:00
And in the order table
orders
date: 08/20/2020
time_start: 16:00
time_end: 17:00
I need to do a query that will return
date: 08/20/2020
time_start: 14:00
time_end: 16:00
date: 08/20/2020
time_start: 17:00
time_end: 18:00
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question