Database Systems: Design, Implementation, & Management
Database Systems: Design, Implementation, & Management
13th Edition
ISBN: 9781337627900
Author: Carlos Coronel, Steven Morris
Publisher: Cengage Learning
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 13, Problem 12P

Using the answer to Problem 10 as your base, what command would you need to generate the same output but with subtotals in all columns? (Hint: Use the CUBE command.) Figure P13.12 shows the result of the query.

FIGURE P13.12 PROBLEM 12 RESULT

Chapter 13, Problem 12P, Using the answer to Problem 10 as your base, what command would you need to generate the same output

Blurred answer
Students have asked these similar questions
Problem #11: 1111 FR 10 500000 300000 Problem #12 :  2222 NB 16 400000 300000 Problem #13: 3333 BO 16 400000 275000 Problem #14: 4444 PR 23 400000 200000
Use the following pseudocode for questions 18-20: Main Program: Start Declare variables idno, location, dept, budget, spent, msg Input idno, location, dept, budget, spent budgetMsg() Output idno, location, dept, budget, spent, msg Stop  budgetMsg() If dept < 20    If budget > 350000        msg = cut 7%    Else        msg = cut 6%     Endif  Endif      Question at position 18 18   Fill in the Blank  1 point  Question 18 is unpinned. Click to pin.    Question at position 18  What would the msg be set to if the following was input: Input: 1111 BO 20 400000 300000 Output: cut  Question Blank 1 of 1       Question at position 19 19   Question at position 19  What would msg be if the input was the following: Input: 2222 PR 14 100000 110000 Output: cut     Question 20  What would msg be if the input was the following: Input: 3333 FR 25 200000 100000
Use the following pseudocode for questions 21-23: Main Program: Start Declare variables idno, location, dept, budget, spent, msg Input idno, location, dept, budget, spent budgetMsg() Output idno, location, dept, budget, spent, msg Stop  budgetMsg() If dept < 20     If budget > 350000         msg = cut 7%     Else         msg = cut 6%     End if Else     msg = cut 5% End if         Question at position 21  What would msg be with the following input? Input: 1111 BO 20 400000 300000 Output: cut %         Question at position 22  What would msg be with the following input? Input:  2222 PR 14 100000 110000 Output: cut %       Question at position 23  What would msg be with the following input? Input:   3333 FR 25 200000 100000 Output: cut %
Knowledge Booster
Background pattern image
Computer Science
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
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
SQL Basics for Beginners | Learn SQL | SQL Tutorial for Beginners | Edureka; Author: edureka;https://www.youtube.com/watch?v=zbMHLJ0dY4w;License: Standard YouTube License, CC-BY