select `vehicles`.*, count(fuel_types.id) as fuel_count, fuel_types.fuel_type from `vehicles` inner join `makes` on `vehicles`.`make_id` = `makes`.`id` inner join `users` on `vehicles`.`user_id` = `users`.`id` inner join `fuel_types` on `vehicles`.`fuel_id` = `fuel_types`.`id` where (`vehicles`.`status_id` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)) and `make_name` = ? and `users`.`name` = ? and `fuel_types`.`fuel_type` != ? group by `fuel_types`.`fuel_type` order by `fuel_count` desc
Array
(
[0] => 1
[1] => HINO
[2] => Wallace Automobiles
[3] =>
)
2.26
select `vehicles`.*, count(models.id) as model_count, model_name from `vehicles` inner join `makes` on `vehicles`.`make_id` = `makes`.`id` inner join `users` on `vehicles`.`user_id` = `users`.`id` inner join `models` on `vehicles`.`model_id` = `models`.`id` where (`vehicles`.`status_id` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)) and `make_name` = ? and `users`.`name` = ? and `model_name` != ? group by `models`.`model_name` order by `model_count` desc
Array
(
[0] => 1
[1] => HINO
[2] => Wallace Automobiles
[3] =>
)
9.47
select *, (select count(*) from `vehicles` inner join `users` on `users`.`id` = `vehicles`.`user_id` where `provinces`.`id` = `users`.`province_id` and `vehicles`.`status_id` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)) as `vehicles_count` from `provinces` order by `province_name` asc
Array
(
[0] => 1
)
7411.89
select `makes`.* from `makes` inner join `vehicles` on `vehicles`.`make_id` = `makes`.`id` group by `makes`.`id`
Array
(
)
1136.73
select count(*) as aggregate from `vehicles` inner join `makes` on `vehicles`.`make_id` = `makes`.`id` inner join `users` on `vehicles`.`user_id` = `users`.`id` where (`vehicles`.`status_id` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)) and `make_name` = ? and `users`.`name` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)
Array
(
[0] => 1
[1] => HINO
[2] => Wallace Automobiles
)
100.85
select `vehicles`.* from `vehicles` inner join `makes` on `vehicles`.`make_id` = `makes`.`id` inner join `users` on `vehicles`.`user_id` = `users`.`id` where (`vehicles`.`status_id` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)) and `make_name` = ? and `users`.`name` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR) order by `vehicles`.`created_at` desc limit 15 offset 0
Array
(
[0] => 1
[1] => HINO
[2] => Wallace Automobiles
)
17.14
select `vehicles`.* from `vehicles` inner join `makes` on `vehicles`.`make_id` = `makes`.`id` inner join `users` on `vehicles`.`user_id` = `users`.`id` where (`vehicles`.`status_id` = ? and `vehicles`.`created_at` > DATE_SUB(NOW(),INTERVAL 2 YEAR)) and `make_name` = ? and `users`.`name` = ? and (`users`.`featured` = ? or `vehicles`.`featured` = ?) order by RAND() limit 8
Array
(
[0] => 1
[1] => HINO
[2] => Wallace Automobiles
[3] => 1
[4] => 1
)
48.35
HINO Used Cars Preowned Vehicles
Filter
1 Vehicles were found with the given criteria