Contatti: 0302884412
SELECT med.idmedia, med.title, med.path, med.insdatetime, med.description, sub.subcategory  FROM media med  NATURAL JOIN subcategories sub  NATURAL JOIN categories cat  WHERE insdatetime > DATE_SUB(NOW(), INTERVAL 10000 DAY)  AND idcategory IN (6,7,8,9,14,15) AND idmedia > 0 AND med.title LIKE '%sosteni%'   ORDER BY insdatetime DESC LIMIT 48,21
SELECT med.idmedia, med.title, med.path, med.insdatetime, med.description, sub.subcategory FROM media med NATURAL JOIN subcategories sub NATURAL JOIN categories cat WHERE insdatetime > DATE_SUB(NOW(), INTERVAL 10000 DAY) AND idcategory IN (6,7,8,9,14,15) AND idmedia > 0 AND med.title LIKE '%sosteni%' ORDER BY insdatetime DESC LIMIT 48,21