$strSQL = "SELECT car.brand_car,car.gene_car,id_re,car_id FROM car INNER JOIN reservations WHERE reservations.car_id = car.id_car GROUP BY reservations.car_id ORDER BY count(reservations.car_id) DESC";
$strSQL = "SELECT id_re,Count(*),car.brand_car,car.gene_car FROM car INNER JOIN reservations WHERE reservations.car_id = car.id_car GROUP BY reservations.car_id ORDER BY count(reservations.car_id) DESC ";
$strSQL = "SELECT id_re,Count(id_re) as val,car.brand_car,car.gene_car FROM car INNER JOIN reservations WHERE reservations.car_id = car.id_car GROUP BY reservations.car_id ORDER BY count(reservations.car_id) DESC ";
เวลาเรียกใช้ ชื่อ val