
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Consider the E-R diagram in Figure 8.9, which contains specializations, using
subtypes and subtables. Give an SQL query to find the names of all people who are not secretaries.

Transcribed Image Text:person
ID
пате
address
employee
student
salary
tot_credits
instructor
secretary
rank
hours_per_week
Figure 8.9 Specialization and generalization.
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 nowThis is a popular solution!
Step by stepSolved in 3 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.Similar questions
- This doesn't answer the question I asked. This is for a different section. I got a solution for this question but it answered a different section. Could I please have a My SQL eer diagram that sets up the following queries. All books that are checked out are due back in two weeks, with no exceptions. The late fee is 50 cents per day. The librarian would like to have a query that generates an overdue book list each day so she can telephone the miscreants. The library would like a query to search for a book by its title and see if it is currently checked out. Sometimes members can’t remember the full name of the book so the query needs to be able to search by a part of the title. The library would like a query that can show them the Top 10 most popular books checked out over a particular date range. The library would like to know the most popular day of the week for library members to visit the library and check out books. The library would like to know which book categories are the most…arrow_forwardConsider the relations R(A, B, C) and S(B, C, D) and the following SQL queries.1. Select distinct * from R, S;II. Select distinct * from R, S where R.C = S.C;IIl. Select distinct from R, S where R.C = S.C and R. B = S.B;IV. Select distinct * from R, S where R.C! = S.C;Match the following Table where the first column refers to the four given SQL queriesarrow_forwardConsider the following relations. • Student (zno, sname, age) • Enroll (zno, cno) • Course (cno, cname, semester) Given the following SQL, which one is the best index to improve the query performance. SELECT S.zno, S.sname, count(cno) FROM Student S, Enroll E WHERE S.zno = E.zno GROUP BY S.zno HAVING count(cno) >10; O None of the above O Hash Index for Course (cno) O Hash Index for Student (zno) B+ index for Enroll (cno,zno) O B+ index for Enroll (zno,cno)arrow_forward
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

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