Skip to content
Advertisement

How to Return paper title and number of authors for each paper using sql

I try to return paper title and number of authors for each paper,names of authors who have at least two papers and List names of authors who have co-authored with Dr. Chen. but i don’t find any way.

Author

Editor

Paper

Paper_author

)

paper_review

Reviewer

Sample Inputs

Author

Editor

Paper

paper_author

paper_review

Reviewer

Advertisement

Answer

What I understood is you are looking or three different answers.

paper title and number of authors for each paper:

Output:

enter image description here

Names of authors who have at least two papers:

Output:

enter image description here

List names of authors who have co-authored with Dr. Chen:

Output:

enter image description here

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement