Vous devez etre connecté

OK

Connexion

Catégories [+]

In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'accrophi.enchere.type'; this is incompatible with sql_mode=only_full_group_by
SELECT *, IF(type=1,prix_depart,prix_direct ) as prix, mise_en_valeur as miseEnValeur FROM enchere WHERE deletedInterface=0 AND actif=1 AND vendu =0 AND commissionDebutPaye=1 AND date_debut<='2024-07-15 06:23:32' AND (`date_fin` > "2024-07-15 06:23:32" OR ( `date_fin` > "2024-07-15 06:23:12" AND `extension_enchere`=1 )) AND `quantite_initial` >`quantite_vendu` AND (categorie0='16703' OR categorie1='16703' OR categorie2='16703' OR categorie3='16703' OR categorie4='16703' OR categorie5='16703' OR categorie_secondaire0='16703' OR categorie_secondaire1='16703' OR categorie_secondaire2='16703' OR categorie_secondaire3='16703' OR categorie_secondaire4='16703' OR categorie_secondaire5='16703') ORDER BY top_categorie DESC, id DESC, date_fin DESC