Je suis au niveau 3 avec periods4
Je dois chercher Paléolithique ancien dans period_fr
Cherchons le type de period_fr
requête : SELECT t.typcategory FROM pg_attribute a JOIN pg_type t ON t.oid = a.atttypid JOIN pg_class c ON c.oid = a.attrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = 'periods' AND a.attname = 'period_fr' AND a.attnum > 0 AND n.nspname = 'public'period_fr vaut : S
Je dois chercher Paléolithique ancien dans period_en
Cherchons le type de period_en
requête : SELECT t.typcategory FROM pg_attribute a JOIN pg_type t ON t.oid = a.atttypid JOIN pg_class c ON c.oid = a.attrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = 'periods' AND a.attname = 'period_en' AND a.attnum > 0 AND n.nspname = 'public'period_en vaut : S
Je dois chercher Paléolithique ancien dans period_fr
Cherchons le type de period_fr
requête : SELECT t.typcategory FROM pg_attribute a JOIN pg_type t ON t.oid = a.atttypid JOIN pg_class c ON c.oid = a.attrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = 'periods' AND a.attname = 'period_fr' AND a.attnum > 0 AND n.nspname = 'public'period_fr vaut : S
Je dois chercher Paléolithique ancien dans period_en
Cherchons le type de period_en
requête : SELECT t.typcategory FROM pg_attribute a JOIN pg_type t ON t.oid = a.atttypid JOIN pg_class c ON c.oid = a.attrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = 'periods' AND a.attname = 'period_en' AND a.attnum > 0 AND n.nspname = 'public'period_en vaut : S
Erreur SQL lim :
ERROR: invalid reference to FROM-clause entry for table "periods" LINE 1: ...e) AND ( TRUE AND TRUE AND TRUE AND TRUE AND (((periods.pe... ^ HINT: Perhaps you meant to reference the table alias "periods4".