Afficher un message
Vieux 24/04/2006, 09h18   #1
daniel.czestki@wp.pl
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how this query should be in mysql 5

Hello,

I have query which work in mysql 4
In mysql 5 I have error 1054.

this is this query:
select
count(p.products_id) as total

from
products_description pd, products p
left join manufacturers m on p.manufacturers_id = m.manufacturers_id,
products_to_categories p2c left join specials s on p.products_id =
s.products_id

where
p.products_status = '1'
and p.products_id = p2c.products_id
and pd.products_id = p2c.products_id
and pd.language_id = '1'
and p2c.categories_id = '21'

-----------------------------

how change it to mysql 5 ??
thanks

  Réponse avec citation
 
Page generated in 0,04398 seconds with 9 queries