I have two tables which one by means of RIGHT JOIN
and the sentence is as follows:
$sql= "select * from bookings RIGHT JOIN calendar ON bookings.date=calendar.day_Date GROUP by calendar.day_date";
I add an image with the structure and the view to examine the table to better express the idea:
I need the results to bring all the rows that have the same date, it only brings me from the table bookings
the first one that finds if there is more than one (as shown in the image ... shows the line that is in red, but I need in this case to bring row 1 and 2 of bookings
and show them to me, since both lines have the same date).