I was wondering....if i wanted to update the same rows of a table as i got from a query like the one below. Would it be possible to use the GROUP BY and ORDER by etc with the UPDATE statement, so i update those rows only?
<?PHP
$query3 = "SELECT time, row_number, seat, booked FROM rollercoaster
GROUP BY time, row_number, booked
HAVING (((time)='".$time."') AND ((booked)=0))
ORDER BY time, row_number
LIMIT $seat";
?>