CREATE TABLE paperdataset (paperid NUMBER, datasetid NUMBER)
CREATE TABLE dataset (datasetid NUMBER, datasetname VARCHAR2)
CREATE TABLE paperkeyphrase (paperid NUMBER, keyphraseid NUMBER)
CREATE TABLE paper (paperid NUMBER, title VARCHAR2, venueid NUMBER, year NUMBER, numciting NUMBER, numcitedby NUMBER, journalid NUMBER)
CREATE TABLE paperfield (fieldid NUMBER, paperid NUMBER)
CREATE TABLE field (fieldid NUMBER)
CREATE TABLE venue (venueid NUMBER, venuename VARCHAR2)
CREATE TABLE cite (citingpaperid NUMBER, citedpaperid NUMBER)
CREATE TABLE author (authorid NUMBER, authorname VARCHAR2)
CREATE TABLE journal (journalid NUMBER, journalname VARCHAR2)
CREATE TABLE writes (paperid NUMBER, authorid NUMBER)
CREATE TABLE keyphrase (keyphraseid NUMBER, keyphrasename VARCHAR2)

Who cites Neeraj Jain most ?
SELECT DISTINCT COUNT(cite.citingpaperid), WRITES_1.authorid FROM author, cite, writes AS WRITES_0, writes AS WRITES_1 WHERE author.authorname = 'Neeraj Jain' AND WRITES_0.authorid = author.authorid AND WRITES_0.paperid = cite.citedpaperid AND WRITES_1.paperid = cite.citingpaperid GROUP BY WRITES_1.authorid ORDER BY COUNT(cite.citingpaperid) DESC
SELECT DISTINCT COUNT("cite"."citingpaperid"), "WRITES_1"."authorid" FROM "author" JOIN "writes" "WRITES_0" ON "WRITES_0"."authorid" = "author"."authorid" JOIN "cite" ON "WRITES_0"."paperid" = "cite"."citedpaperid" JOIN "writes" "WRITES_1" ON "WRITES_1"."paperid" = "cite"."citingpaperid" WHERE "author"."authorname" = 'Neeraj Jain' GROUP BY "WRITES_1"."authorid" ORDER BY COUNT("cite"."citingpaperid") DESC