Rev 756 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*Mise à jour de réferentiels NULL ou vides pour les observations avec nom_ret_nn75427 observations trouvées au 2013/07/19Les observations problématiques sont les suivantes:SELECT id_observation, nom_referentiel, nom_sel, nom_sel_nn, nom_ret, nom_ret_nn, nt, familleFROM cel_obsWHERE (nom_referentiel IS NULL OR nom_referentiel = '') AND nom_sel != '' AND nom_sel IS NOT NULL AND nom_ret_nn IS NOT NULL;*//*TODO:SELECT * FROM cel_obs WHERE nom_ret_nn IS NULL;CREATE TEMPORARY TABLE T_bis ( INDEX(`nom`)) AS(SELECT "bdtfx", CONCAT(b.nom_sci, ' ', b.auteur) AS nom, b.num_nom, b.num_taxonomique, b.famille FROM tb_eflore.bdtfx_v1_02 bUNION ALLSELECT "bdtxa", CONCAT(a.nom_sci, ' ', a.auteur) AS nom, a.num_nom, a.num_tax, a.famille FROM tb_eflore.bdtxa_v1_00 a);DROP TEMPORARY TABLE IF EXISTS T_bis;