1 |
5.82 ms |
SELECT mc.id, mc.libelle_fr, mc.libelle_en, (
SELECT COUNT(dmc.motcle_id)
FROM document_mot_cle dmc
WHERE dmc.motcle_id = mc.id) AS count
FROM mot_cle mc
ORDER BY count DESC
LIMIT 50
SELECT mc.id, mc.libelle_fr, mc.libelle_en, (
SELECT COUNT(dmc.motcle_id)
FROM document_mot_cle dmc
WHERE dmc.motcle_id = mc.id) AS count
FROM mot_cle mc
ORDER BY count DESC
LIMIT 50;
|
2 |
20.60 ms |
SELECT DISTINCT titre,
regexp_replace(regexp_replace(LOWER(unaccent(titre)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS titre_formate
FROM document
ORDER BY titre_formate ASC
SELECT DISTINCT titre,
regexp_replace(regexp_replace(LOWER(unaccent(titre)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS titre_formate
FROM document
ORDER BY titre_formate ASC;
|
3 |
9.50 ms |
SELECT
id,
CONCAT(prenom,' ',nom) AS identite,
regexp_replace(regexp_replace(LOWER(unaccent(CONCAT(prenom,' ',nom))), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS identite_formate
FROM personne
ORDER BY nom ASC, prenom ASC
SELECT
id,
CONCAT(prenom,' ',nom) AS identite,
regexp_replace(regexp_replace(LOWER(unaccent(CONCAT(prenom,' ',nom))), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS identite_formate
FROM personne
ORDER BY nom ASC, prenom ASC;
|
4 |
1.54 ms |
SELECT
id,
nom,
regexp_replace(regexp_replace(LOWER(unaccent(nom)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS nom_formate,
-1 AS count, false AS checked
FROM editeur
ORDER BY nom
SELECT
id,
nom,
regexp_replace(regexp_replace(LOWER(unaccent(nom)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS nom_formate,
-1 AS count, false AS checked
FROM editeur
ORDER BY nom;
|
5 |
1.91 ms |
SELECT
id,
nom,
regexp_replace(regexp_replace(LOWER(unaccent(nom)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS nom_formate,
editeur_id,
-1 AS count, false AS checked
FROM collections
ORDER BY nom
SELECT
id,
nom,
regexp_replace(regexp_replace(LOWER(unaccent(nom)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS nom_formate,
editeur_id,
-1 AS count, false AS checked
FROM collections
ORDER BY nom;
|
6 |
7.05 ms |
SELECT
id,
libelle_fr,
libelle_en,
regexp_replace(regexp_replace(LOWER(unaccent(libelle_fr)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS libelle_fr_formate,
regexp_replace(regexp_replace(LOWER(unaccent(libelle_en)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS libelle_en_formate
FROM mot_cle
ORDER BY libelle_fr_formate
SELECT
id,
libelle_fr,
libelle_en,
regexp_replace(regexp_replace(LOWER(unaccent(libelle_fr)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS libelle_fr_formate,
regexp_replace(regexp_replace(LOWER(unaccent(libelle_en)), '[[:punct:]]', '', 'g'), '^\s+', '', 'g') AS libelle_en_formate
FROM mot_cle
ORDER BY libelle_fr_formate;
|