Problem 81 Write a query to display the highest book cost in the system (Figure P7.81). Most Expensive 12995 Figure 7.81
Problem 81 Write a query to display the highest book cost in the system (Figure P7.81). Most Expensive 12995 Figure 7.81
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:**Database Schema**
The schema for the *Ch07_FACT* database is shown below and should be used to answer the next several problems.
**FIGURE P7.56 THE CH07_FACT ERD**
This Entity-Relationship Diagram (ERD) represents the structure of the *Ch07_FACT* database, which is used in managing a library of e-books.
### Entities and Relationships:
1. **CHECKOUT**
- **Primary Key (PK):** Check_Num
- **Foreign Keys (FK):**
- FK1: Book_Num
- FK2: Pat_ID
- **Attributes:**
- Check_Out_Date
- Check_Due_Date
- Check_In_Date
Represents the checkout transaction details for e-books.
2. **PATRON**
- **Primary Key (PK):** Pat_ID
- **Attributes:**
- Pat_FName
- Pat_LName
- Pat_Type
Contains details about the patrons (users) of the e-library.
3. **BOOK**
- **Primary Key (PK):** Book_Num
- **Foreign Key (FK1):** Pat_ID
- **Attributes:**
- Book_Title
- Book_Year
- Book_Cost
- Book_Subject
Describes the properties of e-books available in the library.
4. **AUTHOR**
- **Primary Key (PK):** Au_ID
- **Attributes:**
- Au_FName
- Au_LName
- Au_BirthYear
Contains information about the authors of the e-books.
5. **WRITES**
- **Primary Key (PK, FK1, FK2):** The combination of Book_Num and Au_ID
- **Foreign Keys:**
- FK1: Book_Num
- FK2: Au_ID
Establishes the relationship between books and their authors.
### Relationships:
- A *PATRON* can check out multiple books as recorded in the *CHECKOUT* entity.
- A *BOOK* can be checked out by patrons and is authored by one or more *AUTHORS*.
- The *WRITES* relationship maps books to authors, allowing a many-to-many relationship.
**Context:**
The CIS Department at Tiny College maintains the Free Access to Current Technology (FACT) library of e-books. FACT is a collection

Transcribed Image Text:**Problem 81**
Write a query to display the highest book cost in the system (Figure P7.81).
---
**Figure 7.81**
The figure displays a simple table with a column labeled "Most Expensive." Under this label, one entry is shown: the value "129.95," which represents the highest book cost in the system.
---
**Task**
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education