Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write SQL Statement FOR question 1 to 5. Formulate SQL queries to answer the fol

ID: 3896758 • Letter: W

Question

Write SQL Statement FOR question 1 to 5.

Formulate SQL queries to answer the following information requests. Use the relations Researcher, Proposal, Review, and Expert provided below. These relations describe an application scenario for a university database that records researchers submit their proposals to a committee for review and assessment. An expert in the committee may review many proposals and a proposal may be reviewed by multiple experts. More details on these relations and tables with data populated are provided as below (tables are in next pages). Relations Researcher(ResearcherlD, FirstName, LastName, Expertise) Proposal(ProposalIlD, Title, RequestedFunding, ResearcherlD) Foreign key (ResearcherlD) references Researcher Review ProposallD. ExpertD, Recommendation, ReviewDate) Foreign key (ProposallD) references Proposal Foreign key (ExpertID) references Expert Expert(ExpertD, FirstName, LastName, Expertise, ExpertType)

Explanation / Answer

1)In question 1 let the table name be experta

select * from experta order by First name;

2)let the table name be researchers..

select * from researchers where Expertise is NULL;

3)let the table name be proposals

select * from proposals where RequestedFunding>0;

4)let the table name be researcher

select FirstName, Expertise, RequestedFunding from researcher where max(RequestedFunding);

5)let the table name be proposals

select FirstName,NbrProposalReviewed from proposals where NbrProposalReviewed>1;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote