Schema:
CREATE TABLE "workshop" (
"Workshop_ID" int,
"Date" text,
"Venue" text,
"Name" text,
PRIMARY KEY ("Workshop_ID")
);
CREATE TABLE "submission" (
"Submission_ID" int,
"Scores" real,
"Author" text,
"College" text,
PRIMARY KEY ("Submission_ID")
);
CREATE TABLE "Acceptance" (
"Submission_ID" int,
"Workshop_ID" int,
"Result" text,
PRIMARY KEY ("Submission_ID","Workshop_ID"),
FOREIGN KEY ("Submission_ID") REFERENCES `submission`("Submission_ID"),
FOREIGN KEY ("Workshop_ID") REFERENCES `workshop`("Workshop_ID")
);

Question: How many submissions are there?
SQL:
SELECT count(*) FROM submission

Question: Count the number of submissions.
SQL:
SELECT count(*) FROM submission

Question: List the authors of submissions in ascending order of scores.
SQL:
SELECT Author FROM submission ORDER BY Scores ASC

Question: Find the author for each submission and list them in ascending order of submission score.
SQL:
SELECT Author FROM submission ORDER BY Scores ASC

Question: What are the authors of submissions and their colleges?
SQL:
SELECT Author ,  College FROM submission

Question: For each submission, show the author and their affiliated college.
SQL:
SELECT Author ,  College FROM submission

Question: Show the names of authors from college "Florida" or "Temple"
SQL:
SELECT Author FROM submission WHERE College  =  "Florida" OR College  =  "Temple"

Question: Which authors with submissions are from college "Florida" or "Temple"?
SQL:
SELECT Author FROM submission WHERE College  =  "Florida" OR College  =  "Temple"

Question: What is the average score of submissions?
SQL:
SELECT avg(Scores) FROM submission

Question: Compute the average score of submissions.
SQL:
SELECT avg(Scores) FROM submission

Question: What is the author of the submission with the highest score?
SQL:
SELECT Author FROM submission ORDER BY Scores DESC LIMIT 1

Question: Find the author who achieved the highest score in a submission.
SQL:
SELECT Author FROM submission ORDER BY Scores DESC LIMIT 1

Question: Show different colleges along with the number of authors of submission from each college.
SQL:
SELECT College ,  COUNT(*) FROM submission GROUP BY College

Question: For each college, return the college name and the count of authors with submissions from that college.
SQL:
SELECT College ,  COUNT(*) FROM submission GROUP BY College

Question: Show the most common college of authors of submissions.
SQL:
SELECT College FROM submission GROUP BY College ORDER BY COUNT(*) DESC LIMIT 1

Question: Which college has the most authors with submissions?
SQL:
SELECT College FROM submission GROUP BY College ORDER BY COUNT(*) DESC LIMIT 1

Question: Show the colleges that have both authors with submission score larger than 90 and authors with submission score smaller than 80.
SQL:
SELECT College FROM submission WHERE Scores  >  90 INTERSECT SELECT College FROM submission WHERE Scores  <  80

Question: Which colleges have both authors with submission score above 90 and authors with submission score below 80?
SQL:
SELECT College FROM submission WHERE Scores  >  90 INTERSECT SELECT College FROM submission WHERE Scores  <  80

Question: Show the authors of submissions and the acceptance results of their submissions.
SQL:
SELECT T2.Author ,  T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID

Question: For each submission, find its author and acceptance result.
SQL:
SELECT T2.Author ,  T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID

Question: Show the result of the submission with the highest score.
SQL:
SELECT T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID ORDER BY T2.Scores DESC LIMIT 1

Question: Which submission received the highest score in acceptance result. Show me the result.
SQL:
SELECT T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID ORDER BY T2.Scores DESC LIMIT 1

Question: Show each author and the number of workshops they submitted to.
SQL:
SELECT T2.Author ,  COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author

Question: How many workshops did each author submit to? Return the author name and the number of workshops.
SQL:
SELECT T2.Author ,  COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author

Question: Show the authors who have submissions to more than one workshop.
SQL:
SELECT T2.Author FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author HAVING COUNT(DISTINCT T1.workshop_id)  >  1

Question: Which authors have submitted to more than one workshop?
SQL:
SELECT T2.Author FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID  =  T2.Submission_ID GROUP BY T2.Author HAVING COUNT(DISTINCT T1.workshop_id)  >  1

Question: Show the date and venue of each workshop in ascending alphabetical order of the venue.
SQL:
SELECT Date ,  Venue FROM workshop ORDER BY Venue

Question: Sort the each workshop in alphabetical order of the venue. Return the date and venue of each workshop.
SQL:
SELECT Date ,  Venue FROM workshop ORDER BY Venue

Question: List the authors who do not have submission to any workshop.
SQL:
SELECT Author FROM submission WHERE Submission_ID NOT IN (SELECT Submission_ID FROM acceptance)

Question: Which authors did not submit to any workshop?
SQL:
SELECT Author FROM submission WHERE Submission_ID NOT IN (SELECT Submission_ID FROM acceptance)