1 |
0.36 ms |
SELECT idcategorie, name FROM ann_categories WHERE online=1
SELECT idcategorie, name FROM ann_categories WHERE online=1;
|
2 |
4.61 ms |
SELECT *,`bigregions`.idbigregion as idbigregion
FROM `bigregions`
JOIN `regions` ON `regions`.`idbigregion`=`bigregions`.`idbigregion`
JOIN `departements` ON `regions`.`idregion`=`departements`.`idregion`
ORDER BY `bigregions`.`bigregion` ASC, `departements`.`departement` ASC
SELECT *,`bigregions`.idbigregion as idbigregion
FROM `bigregions`
JOIN `regions` ON `regions`.`idbigregion`=`bigregions`.`idbigregion`
JOIN `departements` ON `regions`.`idregion`=`departements`.`idregion`
ORDER BY `bigregions`.`bigregion` ASC, `departements`.`departement` ASC;
|
3 |
1.63 ms |
SELECT * FROM ann_categories WHERE online=1 ORDER BY class
SELECT * FROM ann_categories WHERE online=1 ORDER BY class;
|
4 |
38.68 ms |
SELECT idcategorie, COUNT(*) AS count FROM ann_annonces WHERE online=1 AND valid=1 AND attente=0 GROUP BY idcategorie
SELECT idcategorie, COUNT(*) AS count FROM ann_annonces WHERE online=1 AND valid=1 AND attente=0 GROUP BY idcategorie;
|
5 |
94.41 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=1
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=1;
|
6 |
1.61 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=2
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=2;
|
7 |
60.21 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=3
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=3;
|
8 |
14.20 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=4
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=4;
|
9 |
63.04 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=7
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=7;
|
10 |
3.60 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=8
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=8;
|
11 |
39.12 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=6
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=6;
|
12 |
2.93 ms |
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=9
SELECT MAX(dateinsert) as lastdate FROM ann_annonces WHERE idcategorie=9;
|
13 |
29.61 ms |
SELECT a.*,e.login FROM ann_annonces a, extranetusers e
WHERE e.idextranetuser=a.idextranetuser
AND a.online=1 AND a.valid=1 AND a.attente=0 ORDER BY a.dateinsert DESC LIMIT 0,1
SELECT a.*,e.login FROM ann_annonces a, extranetusers e
WHERE e.idextranetuser=a.idextranetuser
AND a.online=1 AND a.valid=1 AND a.attente=0 ORDER BY a.dateinsert DESC LIMIT 0,1;
|
14 |
29.52 ms |
SELECT COUNT(idannonce) FROM ann_annonces WHERE online=1 AND valid=1 AND attente=0
SELECT COUNT(idannonce) FROM ann_annonces WHERE online=1 AND valid=1 AND attente=0;
|
15 |
2.06 ms |
SELECT * FROM bannieres
WHERE publish=1
AND valid=1
AND is_bottom=1
AND date_start<=NOW()
AND date_end>=NOW()
ORDER BY bannieres.order ASC
LIMIT 0,10
SELECT * FROM bannieres
WHERE publish=1
AND valid=1
AND is_bottom=1
AND date_start<=NOW()
AND date_end>=NOW()
ORDER BY bannieres.order ASC
LIMIT 0,10;
|