I'm trying to use the QueryBuilder in Symfony and Doctrine and do a query with 2 tables. This will be the code in SQL: 
SELECT a.id, a.url FROM example1 AS a, example2 AS b WHERE a.id = b.id;
I think it's a simple question but i didn't find anything on Internet...