Ver originalSELECT lots.* FROM lots JOINcategories ON lots.id_categories=catgories.id WHERE c.name = ?