Pl check documentation for inner queries. Something like <br><code class="literal">select * from local.search where (latitude,longitude) in (select centroid.latitude, centroid.longitude from geo.places where text="north beach, san francisco") and radius=1 and query="pizza" and location=""<br><br>Currently YQL doesn't support joins.<br></code><br><div class="quote"><div class="quotetop">QUOTE<cite>(Sanders @ 13 Feb 2012 10:24 PM)</cite></div><blockquote class="quotemain">i read the YQL document to learn the YQL grammar. As a SQL-like language, how can i finish a multi-tables query in YQL.<br><br>For example: <br>there is two tables of T1 and T2.<br>i can write below in SQL: select T1.a, T1.b, T2.c, T2.d from T1, T2 where T1.a=T2.a<br>but how can i implement above in YQL.<br><br>Thanks for any comments/hints/help!!<br><br></blockquote></div>