Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using mySQL i have 3 tables. table 1: students id (primary key) first last table 2: quizzes id (primary key) number chapter points table 3:

Using mySQL i have 3 tables.

table 1: students id (primary key) first last

table 2: quizzes id (primary key) number chapter points

table 3: takenQuizzes id (primary key) quiz$id (foreign key for quizzes table) student$id(foreign key for students table) score

What i have to do: 1) List the quiz `chapter`, student `first`, `last` and `score` ordered by `chapter` and decreasing `score`. 2) List the student name (`last`, `first`) as the column **Student** and quiz `number` as the column **Quiz** of all taken quizzes, order by **Quiz** then **Student**. 3) List the student `first`, `last`, quiz `number` as the column **quiz**, `points`, raw `score` and score as a percentage of total points as the column **percent**. Format the percent to 2 decimals, e.g. **0.75**. Order by `number` then in descending order by **percent**. 4) Update the score *John Doe* earned on their third quiz to a *10*. 5) Delete all quizzes taken during **10/01** and **10/09**.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The World Wide Web And Databases International Workshop Webdb 98 Valencia Spain March 27 28 1998 Selected Papers Lncs 1590

Authors: Paolo Atzeni ,Alberto Mendelzon ,Giansalvatore Mecca

1st Edition

3540658904, 978-3540658900

More Books

Students also viewed these Databases questions

Question

e. Compute R2 and .

Answered: 1 week ago