Question: Target SQL:	Return me the total citations of papers in the VLDB conference in 2005. select sum ( publication_0.citation_num ) from conference as conference_0, publication as publication_0 where conference_0.name = "VLDB" and publication_0.year = 2005 and conference_0cid = publication_0 cid;
T5-SQL-G:	select sum(t1.citation_num) from publication as t1 join conference as t2 on t1.pid = t2.pid where t2.name = "VLDB" and t1.year < 2005;
T5-QDMR-G:	SELECT SUM(cite.cited) FROM publication, cite, conference WHERE conference_cid = publication.pid AND publication.pid = cite.cited AND conference IN ( SELECT conference.pid FROM conference WHERE conference.name = 'VLDB') AND publication.year < 2005;
T5-QDMR-P:	SELECT SUM(cite.cited) FROM cite, publication, conference WHERE conference.pid = cite.cited AND conference.pid = publication.pid AND conference IN ( SELECT conference.pid FROM publication, conference WHERE conference.pid = publication.pid AND conference.name = 'VLDB' AND publication.year < 2005);
Question: Target SQL:	Return me the papers written by H. V. Jagadish and Yunyao Li after 2005. select publication_0.title from author as author_0, author as author_1, publication as publication_0, writes as writes_0, writes as writes_1 where author_0.name = "Yunyao Li" and author_1.name = "H. V. Jagadish" and publication_0.year > 2005 and author_0.aid = writes_0.aid and author_1.aid = writes_1.aid and publication_0.pid = writes_0.pid and publication_0.pid = writes_1.pid;
T5-SQL-G:	select t3.title from author as t1 join writes as t2 on t1.aid = t2.aid join publication as t3 on t2.citation_num = t3.pid where t1.name = "H. V. Jagadish" intersect select t3.title from author as t1 join writes as t2 on t1.aid = t2.aid join journal as t3 on t2.Journal = t3.jid where t3.name = "Yunyao Li";
T5-QDMR-G:	SELECT publication abstract FROM author, publication, writes WHERE publication.pid = writes.pid AND writes.aid = author.aid AND author.name = 'h.v.jagadish' AND publication.year > 2005
T5-QDMR-P:	SELECT journal.homepage FROM journal, author, publication, writes WHERE journal.pid = publication.pid AND publication.pid = writes.pid AND writes.aid = author.aid AND author.name = 'h.v.jagadish' AND publication.year > 2005
Question: Target SQL:	What is the shortest river? SELECT river.river_name FROM river WHERE river.length = (SELECT min (river.length) FROM river);
T5-SQL-G:	select length from river order by length limit 1;
T5-QDMR-G:	SELECT river.river_name FROM river WHERE river.river_name IN ( SELECT river.river_name FROM river ) ORDER BY river.length ASC LIMIT 1;
T5-QDMR-P:	SELECT river.river_name FROM river WHERE river.river_name IN ( SELECT river.river_name FROM river ) ORDER BY river.length ASC LIMIT 1;
Question: Target SQL:	Find the actor with most number of films. select actor_0.name from actor as actor_0, cast as cast_0, movie as movie_0 where actor_0.aid = cast_0,aid and cast_0.msid = movie_0.mid order by count (distinct (movie_0.title)) desc limit 1;
T5-SQL-G:	select t1.name from actor as t1 join cast as t2 on t1.aid = t2.id group by t1.aid order by count(*) desc limit 1;
T5-QDMR-G:	SELECT actor.name FROM actor, movie, cast WHERE actor.aid = cast.aid AND cast.msid = movie.mid GROUP BY actor.name ORDER BY COUNT (movie.mid) DESC LIMIT 1;
T5-QDMR-P:	SELECT actor.name FROM actor, cast, movie WHERE actor.aid = cast.aid AND cast.msid = movie.mid GROUP BY actor.name ORDER BY COUNT (movie.mid) DESC LIMIT 1;
Question: Target SQL:	Which business has the most number of checks? select business_0.name from business as business_0, checkin as checkin_0 where business_0.business_id = checkin_0.business_id group by business_0.name order by sum(checkin_0.count) desc limit 1;
T5-SQL-G:	select t1.name from business as t1 join checkin as t2 on t1.business_id = t2.business_id group by t2.business_id order by count(*) desc limit 1;
T5-QDMR-G:	SELECT business.name FROM checkin, business WHERE business.business_id = checkin.business_id GROUP BY business.name ORDER BY COUNT (checkin.cid) DESC LIMIT 1;
T5-QDMR-P:	SELECT business.name FROM checkin, business WHERE business.business_id = checkin.business_id GROUP BY business.name ORDER BY COUNT (checkin.cid) DESC LIMIT 1;