SELECT p.*, group_concat(DISTINCT k.Nome) Cucine /*, group_concat(DISTINCT i.Filename) Images*/ , ifnull(ROUND(AVG(f.Rating), 1), 0) AvgRating, COUNT(DISTINCT f.BookID) FeedbackCount, ifnull(City, c.Comune) Comune FROM squisito.places p LEFT OUTER JOIN squisito.kitchen_types_rel kr ON p.RecID=kr.PlaceID LEFT OUTER JOIN squisito.kitchen_types k ON k.RecID=kr.KitchenTypeID /* LEFT OUTER JOIN squisito.images i ON i.PlaceID=p.RecID AND i.ImageSize='M' AND isnull(i.isDeleted) AND isnull(i.isDisabled) AND ImageW=370 */ LEFT OUTER JOIN squisito.feedback f ON f.placeid=p.RecID and isnull(f.isdeleted) LEFT OUTER JOIN adusbef.comuni c ON c.Istat=p.CityID WHERE isnull(p.IsDeleted) AND isnull(k.IsDeleted) AND p.Url='strick-and-white' GROUP BY p.RecID
Ristorante - Pizzeria - Griglieria - Cocktail bar
Registrati per gestire il tuo ristorante su Squisito!
Caricamento in corso, non chiudere questa pagina