human
Schema:
author (aid, homepage, name, oid)
conference (cid, homepage, name)
domain (did, name)
domain_author (aid, did)
domain_conference (cid, did)
journal (homepage, jid, name)
domain_journal (did, jid)
keyword (keyword, kid)
domain_keyword (did, kid)
publication (abstract, cid, citation_num, jid, pid, reference_num, title, year)
domain_publication (did, pid)
organization (continent, homepage, name, oid)
publication_keyword (pid, kid)
writes (aid, pid)
cite (cited, citing)
Please answer with SQL.
assistant
Sure, I understand.
human
return me the paper after 2000 in VLDB conference with more than 200 citations .
assistant
SELECT t2.title FROM publication AS t2 JOIN conference AS t1 ON t2.cid = t1.cid WHERE t1.name = 'VLDB' AND t2.citation_num > 200 AND t2.year > 2000;
human
return me the paper after 2000 in PVLDB with more than 200 citations .
assistant
SELECT t2.title FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = 'PVLDB' AND t2.citation_num > 200 AND t2.year > 2000;
human
return me the paper after 2000 in Databases area with more than 200 citations .
assistant
SELECT t3.title FROM DOMAIN AS t2 JOIN domain_publication AS t1 ON t2.did = t1.did JOIN publication AS t3 ON t3.pid = t1.pid WHERE t2.name = 'Databases' AND t3.citation_num > 200 AND t3.year > 2000;
human
return me the paper with more than 200 citations .
assistant
SELECT title FROM publication WHERE citation_num > 200;
human
return me the paper after 2000 with the most citations .
assistant
SELECT title FROM publication WHERE YEAR > 2000 ORDER BY citation_num DESC LIMIT 1;
human
return me the paper after 2000 with more than 200 citations .
assistant
SELECT title FROM publication WHERE citation_num > 200 AND YEAR > 2000 ;