Premium Essay

Concepts of Database Management – Premiere Product Exercise Chapter 4

In:

Submitted By DBMgmt
Words 340
Pages 2
1)
A…
CREATE VIEW TopLevelCust AS
SELECT CustomerNum, CustomerName, Street, City, State, Zip, Balance, CreditLimit
FROM Customer
WHERE CreditLimit >=10000
;

B…
SELECT CustomerNum, CustomerName
FROM TopLevelCust
WHERE Balance>10000 AND CreditLimit>=10000
;

C…
SELECT Customer.CustomerNum, Customer.CustomerName, Customer.Street, Customer.City, Customer.State, Customer.Zip, Customer.Balance, Customer.CreditLimit
FROM Customer
WHERE (((Customer.Balance)>10000) AND ((Customer.CreditLimit)>=10000));

2)
A…
CREATE VIEW PartOrder AS
SELECT PartNum, Description, Price, OrderNum, OrderDate, NumOrdered, QuotedPrice
FROM Part
;

B…
CREATE VIEW TopLevelCust AS
SELECT PartNum, Description, OrderNum, QuotedPrice
FROM Part
WHERE QuotedPrice>100
;

C…
SELECT Part.PartNum, Part.Description, Part.Price, Orders.OrderNum, Orders.OrderDate, OrderLine.NumOrdered, OrderLine.QuotedPrice
FROM Part INNER JOIN (Orders INNER JOIN OrderLine ON Orders.OrderNum = OrderLine.OrderNum) ON Part.PartNum = OrderLine.PartNum
WHERE (((OrderLine.QuotedPrice)>100));

3)
CREATE VIEW OrdTot AS
SELECT OrderNum, NumOrdered*QuotedPrice
AS OrderTotal INTO OrdTot
FROM OrderLine;

4)
A… CREATE INDEX PartIndex1 ON OrderLine(PartNum);
B… CREATE INDEX PartIndex2 ON Part(Warehouse);
C… CREATE INDEX PartIndex3 ON Part(Warehouse, Class);
D… CREATE INDEX PartIndex4 ON Part(Warehouse, OnHand DESC);

5)
DROP INDEX PartIndex3;

6)
CHECK (Class IN (SG, HW, AP)) FOREIGN KEY (PartNum) PRIMARY KEY (PartNum) REFERENCES Part

7)
ALTER TABLE Part ADD Allocation(0);
SELECT SUM(NumOrdered) AS Allocation
FROM Part, OrderLine
PartNum = KV29
WHERE PartNum= PartNum
;

8)
ALTER TABLE Part
MODIFY Warehouse CHAR(2)
UPDATE Part SET Warehouse=’1a’
WHERE Warehouse=’1’
;

9)
ALTER TABLE Part DELETE Allocation
;

10)
DROP Part Table

11)
DELIMITER $$

Similar Documents

Premium Essay

Sql Book

...Editor-in-Chief: Alex von Rosenberg Senior Acquisitions Editor: Charles McCormick, Jr. Product Manager: Kate Hennessy Development Editor: Jessica Evans Editorial Assistant: Bryn Lathrop Marketing Director: Brian Joyner Marketing Manager: Bryant Chrzan Marketing Communications Manager: Libby Shipp Marketing Coordinator: Suellen Ruttkay Content Project Manager: Matt Hutchinson Art Director: Stacy Jenkins Shirley, Marissa Falco Cover Designer: Joseph Sherman Cover Image: Getty Images/Taxi/Chris Bell Manufacturing Coordinator: Denise Powers © 2009 Course Technology, Cengage Learning ALL RIGHTS RESERVED. No part of this work covered by the copyright hereon may be reproduced, transmitted, stored, or used in any form or by any means graphic, electronic, or mechanical, including but not limited to photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval systems, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the publisher. For product information and technology assistance, contact us at Cengage Learning Customer & Sales Support, 1-800-354-9706 For permission to use material from this text or product, submit all requests online at www.cengage.com/permissions Further permission questions can be emailed to permissionrequest@cengage.com ISBN-13: 978-0-324-59768-4 ISBN-10: 0-324-59768-1 Course Technology 25 Thomson...

Words: 48772 - Pages: 196

Premium Essay

Management Information Systems

...Course Technology’s Management Information Systems Instructor and Student Resources Introduction to IS/MIS Principles of Information Systems, Eighth Edition • Stair, Reynolds Fundamentals of Information Systems, Fourth Edition • Stair, Reynolds Management Information Systems, Sixth Edition • Oz Information Technology in Theory • Aksoy, DeNardis Office Applications in Business Problem-Solving Cases in Microsoft Access & Excel, Sixth Annual Edition • Brady, Monk Succeeding in Business Applications with Microsoft Office 2007 • Bast, Gross, Akaiwa, Flynn, et.al Succeeding in Business with Microsoft Office Excel 2007 • Gross, Akaiwa, Nordquist Succeeding in Business with Microsoft Office Access 2007 • Bast, Cygman, Flynn, Tidwell Databases Database Systems, Eighth Edition • Rob, Coronel Concepts of Database Management, Sixth Edition • Pratt, Adamski Data Modeling and Database Design • Umanath, Scamell A Guide to SQL, Seventh Edition • Pratt A Guide to MySQL • Pratt, Last Guide to Oracle 10g • Morrison, Morrison, Conrad Oracle 10g Titles Oracle9i Titles Enterprise Resource Planning Concepts in Enterprise Resource Planning, Third Edition • Monk, Wagner Data Communications Data Communications and Computer Networks: A Business User’s Approach, Fourth Edition • White Systems Analysis and Design Systems Analysis and Design in a Changing World, Fifth Edition • Satzinger, Jackson, Burd Object-Oriented Analysis and Design with the Unified Process • Satzinger, Jackson, Burd Systems Analysis and...

Words: 223685 - Pages: 895

Premium Essay

Canhan

...4 TH EDITION Managing and Using Information Systems A Strategic Approach KERI E. PEARLSON KP Partners CAROL S. SAUNDERS University of Central Florida JOHN WILEY & SONS, INC. To Yale & Hana To Rusty, Russell &Kristin VICE PRESIDENT & EXECUTIVE PUBLISHER EXECUTIVE EDITOR EDITORIAL ASSISTANT MARKETING MANAGER DESIGN DIRECTOR SENIOR DESIGNER SENIOR PRODUCTION EDITOR SENIOR MEDIA EDITOR PRODUCTION MANAGEMENT SERVICES This book is printed on acid-free paper. Don Fowley Beth Lang Golub Lyle Curry Carly DeCandia Harry Nolan Kevin Murphy Patricia McFadden Lauren Sapira Pine Tree Composition Copyright  2010 John Wiley & Sons, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc. 222 Rosewood Drive, Danvers, MA 01923, website www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, (201) 748-6011, fax (201) 748-6008, website www.wiley.com/go/permissions. To order books or for customer service please, call 1-800-CALL WILEY (225-5945)...

Words: 175164 - Pages: 701

Premium Essay

Business and Management

...4 TH EDITION Managing and Using Information Systems A Strategic Approach KERI E. PEARLSON KP Partners CAROL S. SAUNDERS University of Central Florida JOHN WILEY & SONS, INC. To Yale & Hana To Rusty, Russell &Kristin VICE PRESIDENT & EXECUTIVE PUBLISHER EXECUTIVE EDITOR EDITORIAL ASSISTANT MARKETING MANAGER DESIGN DIRECTOR SENIOR DESIGNER SENIOR PRODUCTION EDITOR SENIOR MEDIA EDITOR PRODUCTION MANAGEMENT SERVICES This book is printed on acid-free paper. Don Fowley Beth Lang Golub Lyle Curry Carly DeCandia Harry Nolan Kevin Murphy Patricia McFadden Lauren Sapira Pine Tree Composition Copyright  2010 John Wiley & Sons, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc. 222 Rosewood Drive, Danvers, MA 01923, website www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, (201) 748-6011, fax (201) 748-6008, website www.wiley.com/go/permissions. To order books or for customer service please, call 1-800-CALL WILEY (225-5945)...

Words: 175164 - Pages: 701

Premium Essay

Managing Information Technology (7th Edition)

...Butler University CASE STUDY I-4 Supporting Mobile Health Clinics: The Children’s Health Fund of New York City CASE STUDY I-5 Data Governance at InsuraCorp CASE STUDY I-6 H.H. Gregg’s Appliances, Inc.: Deciding on a New Information Technology Platform CASE STUDY I-7 Midsouth Chamber of Commerce (B): Cleaning Up an Information Systems Debacle CASE STUDY II-1 Vendor-Managed Inventory at NIBCO CASE STUDY II-2 Real-Time Business Intelligence at Continental Airlines CASE STUDY II-3 Norfolk Southern Railway: The Business Intelligence Journey CASE STUDY II-4 Mining Data to Increase State Tax Revenues in California CASE STUDY II-5 The Cliptomania™ Web Store: An E-Tailing Start-up Survival Story CASE STUDY II-6 Rock Island Chocolate Company, Inc.: Building a Social Networking Strategy CASE STUDY III-1 Managing a Systems Development Project at Consumer and Industrial Products, Inc. CASE STUDY III-2 A Make-or-Buy Decision at Baxter Manufacturing Company CASE STUDY III-3 ERP Purchase Decision at Benton Manufacturing Company, Inc. CASE STUDY III-4 The Kuali Financial System: An Open-Source Project CASE STUDY III-5 NIBCO’s “Big Bang”: An SAP Implementation CASE STUDY III-6 BAT Taiwan: Implementing SAP for a Strategic Transition CASE STUDY III-7 A Troubled Project at Modern Materials, Inc. CASE STUDY III-8 Purchasing and Implementing a Student Management System at Jefferson County School...

Words: 239887 - Pages: 960

Premium Essay

Mis Book

...4 TH EDITION Managing and Using Information Systems A Strategic Approach KERI E. PEARLSON KP Partners CAROL S. SAUNDERS University of Central Florida JOHN WILEY & SONS, INC. To Yale & Hana To Rusty, Russell &Kristin VICE PRESIDENT & EXECUTIVE PUBLISHER EXECUTIVE EDITOR EDITORIAL ASSISTANT MARKETING MANAGER DESIGN DIRECTOR SENIOR DESIGNER SENIOR PRODUCTION EDITOR SENIOR MEDIA EDITOR PRODUCTION MANAGEMENT SERVICES Don Fowley Beth Lang Golub Lyle Curry Carly DeCandia Harry Nolan Kevin Murphy Patricia McFadden Lauren Sapira Pine Tree Composition This book is printed on acid-free paper. Copyright  2010 John Wiley & Sons, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc. 222 Rosewood Drive, Danvers, MA 01923, website www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, (201) 748-6011, fax (201) 748-6008, website www.wiley.com/go/permissions. To order books or for customer service please...

Words: 175167 - Pages: 701

Premium Essay

Writing for Success

...critical thinking, and combines comprehensive grammar review with an introduction to paragraph writing and composition. Beginning with the sentence and its essential elements, this book addresses each concept with clear, concise, and effective examples that are immediately reinforced with exercises and opportunities to demonstrate learning. Each chapter allows students to demonstrate mastery of the principles of quality writing. With its incremental approach, this book can address a range of writing levels and abilities, helping each student prepare for the next writing or university course. Constant reinforcement is provided through examples and exercises, and the text involves students in the learning process through reading, problem solving, practicing, listening, and experiencing the writing process. Each chapter also has integrated examples that unify the discussion and form a common, easy-tounderstand basis for discussion and exploration. This will put students at ease and allow for greater absorption of the material. Tips for effective writing are included in every chapter, as well. Thought-provoking scenarios provide challenges and opportunities for collaboration and interaction. These exercises are especially helpful for working with groups of students. Clear exercises teach sentence and paragraph writing skills that lead to common English composition and research essays....

Words: 171477 - Pages: 686

Premium Essay

Word

...Army Regulation 350–1 Training Army Training and Leader Development Rapid Action Revision (RAR) Issue Date: 4 August 2011 Headquarters Department of the Army Washington, DC 18 December 2009 UNCLASSIFIED SUMMARY of CHANGE AR 350–1 Army Training and Leader Development This rapid action revision, 4 September 2011-o Implements the Don’t Ask, Don’t Tell Repeal Act of 2010 by deleting all references to developing and conducting training concerning the Army’s Homosexual Conduct Policy (paras 2-21p and 2-22k.) o Rescinds paragraphs 2-6r, 2-46ac, and G-14e.) o Makes administrative changes (app A: marked obsolete forms and publications; corrected forms and publication titles; and corrected Web site addresses; glossary: deleted unused acronyms and corrected titles/abbreviations as prescribed by Army Records Management and Declassification Agency). *Army Regulation 350–1 Headquarters Department of the Army Washington, DC 18 December 2009 Effective 18 January 2010 Training Army Training and Leader Development History. This publication is a rapid action revision (RAR). This RAR is effective 20 September 2011. The portions affected by this RAR are listed in the summary of change. Summary. This regulation consolidates policy and guidance for Army training and leader development and supports a full-spectrum, force protection, expeditionary Army. Applicability. This regulation applies to the active Army, the Army National ...

Words: 129456 - Pages: 518

Premium Essay

Integrated Marketing Communications

...Stacy Shirley Internal Designer: Chris Miller/cmiller design Cover Designer: Chris Miller/cmiller design Cover Image: Getty Images/The Image Bank Permission Aquistion Manager/Photo: Deanna Ettinger Permission Aquistion Manager/Text: Mardell Glinski Schultz © 2010, 2007 South-Western, Cengage Learning ALL RIGHTS RESERVED. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic, electronic, or mechanical, including photocopying, recording, taping, Web distribution, information storage and retrieval systems, or in any other manner—except as may be permitted by the license terms herein. For product information and technology assistance, contact us at Cengage Learning Customer & Sales Support, 1-800-354-9706 For permission to use material from this text or product, submit all requests online at www.cengage.com/permissions Further permissions questions can be emailed to permissionrequest@cengage.com Library of Congress Control Number: 2008939395 ISBN 13: 978-0-324-59360-0 ISBN 10: 0-324-59360-0 South-Western Cengage Learning 5191 Natorp Boulevard Mason, OH 45040...

Words: 219845 - Pages: 880

Premium Essay

White Paper

...from the margins to the mainstream of the economy and society through culturally sustainable policies and actions that will lead us to the status of the first Artistic & Cultural Island City in the World Table of contents Page Message of Prime Minister…………………………………………………………. 3 Message of Minister of Arts and Culture …………………………………………... 4 Introduction…………………………………………………………………………. 5 Executive summary…………………………………………………………………. 7 Chapter 1: Overview of the Arts and Culture set-up ………………………………. 19 Chapter 2: The Music industry……………………………………………………... 23 Chapter 3: The Arts sector …………………………………………………………. 30 Chapter 4: Publishing, Reading and Writing ………………………………………. 39 Chapter 5: The audio-visual sector ………………………………………………… 43 Chapter 6: Heritage Management and Promotion………………………………….. 47 Chapter 7: Mauritius, an Artistic and Cultural Island City- ACIC………………… 51 Chapter 8: Developing synergies…………………………………………………… 56 Chapter 9: Arts and Culture: the cement of our nation …………………………….. 61 Chapter 10: Conclusion - Arts and Culture make Mauritius a haven ……………...63 Message of the Prime Minister Culture is connecting with development and is poised to become a fundamental component of sustainable development. This White Paper sets the stage for a revival of arts and culture in Mauritius. My government sees arts and culture as an important...

Words: 20646 - Pages: 83

Premium Essay

Course Module

...that advances decision-making in the modern business environment. This course is intended to show students the format and content of corporate annual financial statements. Financial statement analysis will be highlighted with an emphasis on cash flow analysis and the cash budget. The use of financial ratios will be introduced along with the time value of money. There is an introduction to managerial accounting concepts, relevant costs in managerial decision-making, and capital budgeting techniques. ACKNOWLEDGEMENT This course was developed by Dr. Geoffrey Goldsmith and Dr. Marsha James of the graduate faculty of the School of Business at Belhaven University (Jackson, MS, campus). TOPICS           Application of honesty and business ethics in corporate finance Biblical perspective on investing and risk/return Contents of the corporate annual reports Financial statements and cash flow Cash budget Analysis of financial statements through the use of financial ratios Time value of money Flexible budgeting Managerial accounting concepts Capital budgeting techniques COURSE OBJECTIVES           Identify the Christian principles of honesty and greed as they relate to financial reporting and ethical business practices. Discuss the importance of Biblical principles related to the accumulation of wealth through investing and the giving to others. Describe the purpose and content of financial statements. Understand how...

Words: 8379 - Pages: 34

Premium Essay

Daimler-Chrysler Merger Portrayal

...Knowledge Management Tools and Techniques Practitioners and Experts Evaluate KM Solutions This page intentionally left blank Knowledge Management Tools and Techniques Practitioners and Experts Evaluate KM Solutions Edited by Madanmohan Rao AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Butterworth-Heinemann is an imprint of Elsevier Elsevier Butterworth–Heinemann 200 Wheeler Road, Burlington, MA 01803, USA Linacre House, Jordan Hill, Oxford OX2 8DP, UK Copyright © 2005, Elsevier Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Permissions may be sought directly from Elsevier’s Science & Technology Rights Department in Oxford, UK: phone: (+44) 1865 843830, fax: (+44) 1865 853333, e-mail: permissions@elsevier.com.uk. You may also complete your request on-line via the Elsevier homepage (http://elsevier.com), by selecting “Customer Support” and then “Obtaining Permissions.” Recognizing the importance of preserving what has been written, Elsevier prints its books on acid-free paper whenever possible. Library of Congress Cataloging-in-Publication Data Rao, Madanmohan. KM tools and techniques : practitioners and experts evaluate KM solutions / Madanmohan Rao. p. cm. Includes...

Words: 182966 - Pages: 732

Free Essay

Introduction to Multimedia Systems

...or any information storage and retrieval system, without permission in writing from the publisher. Requests for permission to make copies of any part of the work should be mailed to: Permissions Department, Harcourt Inc., 6277 Sea Harbor Drive, Orlando, Florida 32887-6777 Explicit permission from Academic Press is not required to reproduce a maximum of two figures or tables from an Academic Press chapter in another scientific or research publication provided that the material has not been credited to another source and that full credit to the Academic Press chapter is given. Academic Press A division of Harcourt, Inc. 525 B Street, Suite 1900, San Diego, Cahfomia 92101-4495, USA http://www.academicpress.com Academic Press Harcourt Place, 32 Jamestown Road, London NWl 7BY, UK http ://www. academicpress .com Library of Congress Catalog Card Number: 2001092781 hitemational Standard Book Number: 0-12-500452-4 International Standard Book Number: 0-12-500453-2 (International edition) PRINTED IN THE UNITED STATES OF AMERICA 01 02 03 04 05 06 MB 9 8 7 6 5 4 3 2 1 Contents Preface vii Note to Students xi Prelude to Multimedia Sugata Mitra 1 Overview of...

Words: 60427 - Pages: 242

Premium Essay

Heuy2Kj4

...the essentials of Linda Null and Julia Lobur JONES AND BARTLETT COMPUTER SCIENCE the essentials of Linda Null Pennsylvania State University Julia Lobur Pennsylvania State University World Headquarters Jones and Bartlett Publishers 40 Tall Pine Drive Sudbury, MA 01776 978-443-5000 info@jbpub.com www.jbpub.com Jones and Bartlett Publishers Canada 2406 Nikanna Road Mississauga, ON L5C 2W6 CANADA Jones and Bartlett Publishers International Barb House, Barb Mews London W6 7PA UK Copyright © 2003 by Jones and Bartlett Publishers, Inc. Cover image © David Buffington / Getty Images Illustrations based upon and drawn from art provided by Julia Lobur Library of Congress Cataloging-in-Publication Data Null, Linda. The essentials of computer organization and architecture / Linda Null, Julia Lobur. p. cm. ISBN 0-7637-0444-X 1. Computer organization. 2. Computer architecture. I. Lobur, Julia. II. Title. QA76.9.C643 N85 2003 004.2’2—dc21 2002040576 All rights reserved. No part of the material protected by this copyright notice may be reproduced or utilized in any form, electronic or mechanical, including photocopying, recording, or any information storage or retrieval system, without written permission from the copyright owner. Chief Executive Officer: Clayton Jones Chief Operating Officer: Don W. Jones, Jr. Executive V.P. and Publisher: Robert W. Holland, Jr. V.P., Design and Production: Anne Spencer V.P., Manufacturing and...

Words: 118595 - Pages: 475

Free Essay

Gunda and Loha

... CERTIFICATE This is to certify that the dissertation entitled ‘‘Gunda’ and ‘Loha’ : A Study of Cult Film Cultures’ is the record of the original work done by Kshitij Pipaleshwar under my guidance and supervision. The results of the research presented in this dissertation/thesis have not previously formed the basis for the award of any degree, diploma, or certificate of this Institute or any other institute or university. 4th March 2013 K.V.Nagesh Babu Assistant Professor Centre for Critical Media Praxis School of Media and Cultural Studies iii CONTENTS 1. Attractions of Cinema…………………………………………………………………….1-9 2. Understanding Cult Film……………………………………………………………….10-18 3. Looking Beyond Bollywood…………………………………………………………..19-23 4. Being and Becoming Gunda…………………………………………………………...24-39 5. More than Gunda and Loha……………………………………………………………40-43 6. List of Illustrations………………………………………………………………………...44 7....

Words: 22257 - Pages: 90