subject

Suppose you have created tables in assignment (Tables created in Assignment1) Author table has the following columns
aid, -- author id
aname, --- author name
aemail, --- author email
affliation, --- author affliation
Editor table has the following columns
eid, --- editor ID
ename, --- editor name
eemail, --- email
paper table has the following columns
pid, -- paper id
title, -- paper title
eid, -- assigned editor id
submit_date, --- date of submission
status, -- status: 1 accept, 2 under review, 3 revision, 4 reject
paper_author table has the following columns
pid, -- paper id
aid, -- author id
Reviewer table has the following columns
rid, --- reviewer id
rname, --- reviewer name
remail, --- reviewer email
paper_review table has the following columns
prid, -- paper review id
pid, -- paper id
rid, -- reviwer id
due_date, -- review due date
receive_date, -- review received date
round, -- round of review, 1 means first round, 2 means second round, most paper will go through 2 rounds of review
decision, -- 1 accept, 2 minor revision, 3 major revision, 4 reject
rcomment, -- comments of review
1. Please write one SQL statement for each the following problems. You can use the attached
SQL statements to create the tables.
Problem 1. Please write ONE SQL statement for each of the following tasks using tables created in Problem 1. Note that you can only use conditions specified in the task description and cannot manually look up data and add conditions. E. g., in task 1, you cannot manually look up category ID for carpet cleaner. You want to make sure your code will work regardless of what data are in the database (e. g., whether carpet cleaner has a category ID of 1 or 100).
Task 1: Return names and emails of authors of the paper titled 'A novel approach of mining EHR data'.
Task 2: Return reviewer ID, review decision, and review comments of the paper titled 'Comparing big data systems'.
Task 3: Return paper title and number of authors for each paper.
Task 4: Return names of authors who have at least two papers.
Task 5: List names of authors who have co-authored with Dr. Chen.
Hint: use self join

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Describe in pseudocode an algorithm that given an integer n and a linked list of elements increases the linked list by a factor of n by replacing each element in the original list with n copies of that element. for example, if l: [18, 7, 4, 24, 11] and n = 3 the resulting list should be l: [18, 18, 18, 7, 7, 7, 4, 4, 4, 24, 24, 24, 11, 11, 11]. if the value of n is less than or equal to 0, the list should be empty after the call. what’s the running time of your algorithm?
Answers: 3
question
Computers and Technology, 22.06.2019 21:50
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
George heard about the benefits of a data warehouse. he wants to try implementing one for his organization. however, he is afraid that transferring data to the data warehouse will affect transaction time. which element ensures that transactions are not affected when moving data to a warehouse? when data is transferred to a data warehouse, the a area frees the source system to continue transaction processing.
Answers: 2
You know the right answer?
Suppose you have created tables in assignment (Tables created in Assignment1) Author table has the...
Questions
question
Chemistry, 21.01.2021 02:30
question
Mathematics, 21.01.2021 02:30
Questions on the website: 13722363