Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 2 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Computer Science Posted 29 May 2017 My Price 8.00

Suppose you are given a relation grade points

Suppose you are given a relation grade points(grade, points), which provides a conversion from letter grades in the takes relation to numeric scores; for example an “A” grade could be specified to correspond to 4 points, an “A−” to 3.7 points, a “B+” to 3.3 points, a “B” to 3 points, and so on. The grade points earned by a student for a course offering (section) is defined as the number of credits for the course multiplied by the numeric points for the grade that the student received.

Given the above relation, and our university schema, write each of the following queries in SQL. You can assume for simplicity that no takes tuple has the null value for grade.

a. Find the total grade-points earned by the student with ID 12345, across all courses taken by the student.

b. Find the grade-point average (GPA) for the above student, that is, the total grade-points divided by the total credits for the associated courses.

c. Find the ID and the grade-point average of every student.

Answers

(8)
Status NEW Posted 29 May 2017 10:05 AM My Price 8.00

-----------

Attachments

file 1496052823-Answer.docx preview (372 words )
S-----------upp-----------ose----------- yo-----------u a-----------re -----------giv-----------en -----------a r-----------ela-----------tio-----------n g-----------rad-----------e p-----------oin-----------ts(-----------gra-----------de,----------- po-----------int-----------s),----------- wh-----------ich----------- pr-----------ovi-----------des----------- a -----------con-----------ver-----------sio-----------n f-----------rom----------- le-----------tte-----------r g-----------rad-----------es -----------in -----------the----------- ta-----------kes----------- re-----------lat-----------ion----------- to----------- nu-----------mer-----------ic -----------sco-----------res-----------; f-----------or -----------exa-----------mpl-----------e a-----------n -----------A-----------”----------- gr-----------ade----------- co-----------uld----------- be----------- sp-----------eci-----------fie-----------d t-----------o c-----------orr-----------esp-----------ond----------- to----------- 4 -----------poi-----------nts-----------, a-----------n -----------A-----------−-----------”----------- to----------- 3.-----------7 p-----------oin-----------ts,----------- a -----------“-----------B+----------- -----------to -----------3.3----------- po-----------int-----------s, -----------a -----------B-----------”----------- to----------- 3 -----------poi-----------nts-----------, a-----------nd -----------so -----------on.----------- Th-----------e g-----------rad-----------e p-----------oin-----------ts -----------ear-----------ned----------- by----------- a -----------stu-----------den-----------t f-----------or -----------a c-----------our-----------se -----------off-----------eri-----------ng -----------(se-----------cti-----------on)----------- is----------- de-----------fin-----------ed -----------as -----------the----------- nu-----------mbe-----------r o-----------f c-----------red-----------its----------- fo-----------r t-----------he -----------cou-----------rse-----------
Not Rated(0)