skip to Main Content

Does ORDER BY and WHERE clause have different precedence? – Phpmyadmin

I am currently fetching data using the statement $queryfetchBookings="SELECT `id`,`sessionHeld`,`fk_student_id`,`channelName`,`video_duration`,`audio_duration`,`category`,`dateBooked`,`timeSlot`,`duration`,`category`,`studentName`,`overallRating`,`chat_duration` FROM `one_to_one_bookings` WHERE fk_co_id=".$co_id; I now want to add an ORDER BY `id` ASC to the end but whatever variation I have tried results in failure.(Does not fetch data). Need…

VIEW QUESTION
Back To Top
Search