select
					r.*,
					n.label as neighborhood_label,
					c.label as cuisine_label
					
				from
					citypaper_restaurants.cp_restaurants as r
				left join
					citypaper_restaurants.cp_neighborhoods as n
						on
							n.id = r.neighborhoods_id
				left join
					citypaper_restaurants.cp_cuisines as c
						on
							c.id = r.cuisines_id
				where
					r.id = 
			 [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 17]