Premium Essay

Pt 2520 Unit 6 Assignment 1

In:

Submitted By JerkWaddington
Words 319
Pages 2
1. What is data manipulation language (with regard to SQL)?
Data manipulation language is used to retrieve and change data in a database, specifically relational.

2. What is data definition language (with regard to SQL)?
The data definition language is in syntax similar to computer programming language and it defines data structures.

3. Describe the wild card characters that you may use in an SQL query.
Wildcards can be used in expressions. The underscore “_” can select a single character. The percent “%” can select a series of characters. The brackets “[ ]” can be used to select a range.

4. How do you alias a column in SQL? Explain and provide an example.
You can do this by using the AS keyword.

5. How would you write the WHERE clause to return all employee last names beginning with D?
- SELECT *
FROM EmployeeAddressTable
WHERE LastName LIKE d%’

6. How would you write the WHERE clause to return all employees living in Tucson, whose names begin with an S?
-SELECT *
FROM EmployeeTableTucson
Where City = Tucson
And LastName LIKE s%’

7. What is an aggregate function?
An aggregate function is an operation on several rows at a time.

8. What is the function of the term DISTINCT in a SELECT clause?
It can be used to return unique values within a monotonous table.

9. How does the ORDER BY clause work, when no other keywords related to it are specified? What about “ORDER BY EmployeeLastName DESC”?
The ORDERBY clause needs to be specified.

10. How would you write the WHERE clause to return all of the NULL values in a particular column? Explain and provide an example.
SELECT TutorKey, CourseKey, SessionDate, StudentKey
FROM Session
Where StudentKey IS NULL

11. What is a scalar function?
A scalar function only operates on one row at a time.

12. Can you use an aggregate function within a WHERE clause?
No, WHERE does not

Similar Documents

Free Essay

Photoelectrochemistry

...1 1 Fundamentals of Semiconductor Electrochemistry and Photoelectrochemistry Krishnan Rajeshwar The University of Texas at Arlington, Arlington, Texas 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.4 1.4.1 1.4.2 1.4.3 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 Introduction and Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electron Energy Levels in Semiconductors and Energy Band Model . The Semiconductor–Electrolyte Interface at Equilibrium . . . . . . . . The Equilibration Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Depletion Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mapping of the Semiconductor Band-edge Positions Relative to Solution Redox Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Surface States and Other Complications . . . . . . . . . . . . . . . . . . . Charge Transfer Processes in the Dark . . . . . . . . . . . . . . . . . . . . Current-potential Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dark Processes Mediated by Surface States or by Space Charge Layer Recombination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rate-limiting Steps in Charge Transfer Processes in the Dark . . . . . Light Absorption by the Semiconductor Electrode and Carrier Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Light Absorption...

Words: 180197 - Pages: 721

Premium Essay

Pro Con

...LOGISTICIANS SMART BOOK [pic] Table of Contents Page Number I. Introduction and Reference Data 1. Purpose of the Supply Battle Book 5 2. Logistics Related Web sites 6 3. Logistics Publications 8 II. Explanation of Codes 1. MILSTRIP Record Positions 16 2. Document Identifier Codes (DIC) 16 3. Routing Identifier Code (RIC) 18 4. Stock Number (NSN) Composition (NSNs, FPNs, and MCNs) 19 5. Unit of Issue Code (UI) 20 6. Department of Defense Activity Code (DODAAC) 22 7. Demand Code (DC) 22 8. Unit Identification Code (UIC) 22 9. Signal Code (SC) 22 10. Fund Code (FC) 22 11. End Item Code (EIC) 23 12. Project Code (PC) 23 13. Priority Designator Codes and (UMMIPS) 23 14. Advice Codes (AC) 23 15. Line Item Number (LIN) 24 16. Accounting Requirement Code (ARC) 24 17. Acquisition Advice Code (AAC) 24 18. Automatic Return Item Code (ARI) 26 19. Condition Code (CC) 26 20. Control Inventory Item Code (CIIC) 28 21. Equipment Readiness Code (ERC) 30 22. Equipment Category Code (ECC) 30 23. Essentiality Code (EC) 30 24. Level of Work Code (LWC) 31 25. Maintenance Repair Code (MRC) 31 26. Part Source Code (SRC) 32 27. Recoverability...

Words: 17337 - Pages: 70

Premium Essay

Catechism

...know and love God nn. 1-3 II. Handing on the Faith: Catechesis nn. 4-10 III. The Aim and Intended Readership of the Catechism nn. 11-12 IV. Structure of this Catechism nn. 13-17 V. Practical Directions for Using this Catechism nn. 18-22 VI. Necessary Adaptations nn. 23-25 PART ONE: THE PROFESSION OF FAITH SECTION ONE "I BELIEVE" - "WE BELIEVE" n. 26 CHAPTER ONE MAN'S CAPACITY FOR GOD nn. 27-49 I. The Desire for God nn. 27-30 II. Ways of Coming to Know God nn. 31-35 III. The Knowledge of God According to the Church nn. 36-38 IV. How Can We Speak about God? nn.39-43 IN BRIEF nn. 44-49 CHAPTER TWO GOD COMES TO MEET MAN n. 50 Article 1 THE REVELATION OF GOD I. God Reveals His "Plan of Loving Goodness" nn. 51-53 II. The Stages of Revelation nn. 54-64 III. Christ Jesus -- "Mediator and Fullness of All Revelation" nn. 6567 IN BRIEF nn. 68-73 Article 2 THE TRANSMISSION OF DIVINE REVELATION n. 74 I. The Apostolic Tradition nn.75-79 II. The Relationship Between Tradition and Sacred Scripture nn. 80-83 III. The Interpretation of the Heritage of Faith nn. 84-95 IN BRIEF nn. 96-100 Article 3 SACRED SCRIPTURE I. Christ - The Unique Word of Sacred Scripture nn. 101-104 II. Inspiration and Truth of Sacred Scripture nn. 105-108 III. The Holy Spirit, Interpreter of Scripture nn. 109-119 IV. The Canon of Scripture nn. 120-130 V. Sacred Scripture in the Life of the Church nn. 131-133 IN BRIEF nn. 134-141 CHAPTER THREE MAN'S RESPONSE TO GOD nn. 142-143 Article 1 I BELIEVE I. The Obedience...

Words: 141872 - Pages: 568

Free Essay

Articles

...discovery in labor arbitration, suggests a paradox. Is not the essence of the arbitration process an effort to avoid the procedural complexities that make litigation comparatively slow and costly? More than forty years ago, Learned Hand admonished a litigant distressed with the procedural failings of an arbitration proceeding: Arbitration may or may not be a desirable substitute for trials in courts; as to that the parties must decide in each instance. But when they have adopted it, they must be content with its informalities; they may not hedge it about with those procedural limitations which it is precisely its purpose to avoid. They must content themselves with looser approximations to the enforcement of their rights than those 1 that the law accords them, when they resort to its machinery. Today there is uncertainty about the appropriateness of discovery in labor arbitration 2 and confusion about the author* Julius E. Davis Professor of Law, 1987-1988, University of Minnesota Law School. The...

Words: 22162 - Pages: 89

Premium Essay

Holly Farm

...Robert Johnston Stuart Chambers Christine Harland Alan Harrison Nigel Slack Cases in Operations Management third edition Cases in Operations Management We work with leading authors to develop the strongest educational materials in operations management, bringing cutting-edge thinking and best learning practice to a global market. Under a range of well-known imprints, including Financial Times Prentice Hall, we craft high quality print and electronic publications which help readers to understand and apply their content, whether studying or at work. To find out more about the complete range of our publishing, please visit us on the World Wide Web at: www.pearsoneduc.com THIRD EDITION Cases in Operations Management Robert Johnston Warwick Business School, University of Warwick Stuart Chambers Warwick Business School, University of Warwick Christine Harland School of Management, University of Bath Alan Harrison Cranfield School of Management, Cranfield University Nigel Slack Warwick Business School, University of Warwick Pearson Education Limited Edinburgh Gate Harlow Essex CM20 2JE United Kingdom and Associated Companies throughout the world Visit us on the World Wide Web at: www.pearsoned.co.uk First published 1993 Second published 1997 Third Edition 2003 © Robert Johnston, Stuart Chambers, Christine Harland, Alan Harrison and Nigel Slack 1993, 2003 The rights of Robert Johnston, Stuart Chambers, Christine Harland, Alan Harrison...

Words: 207956 - Pages: 832

Free Essay

Working Capital

... 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. This publication is a creative work fully protected by all applicable copyright laws, as well as by misappropriation, trade secret, unfair competition, and other applicable laws. The authors and editors of this work have added value to the underlying factual material herein through one or more of the following: unique and original selection, coordination, expression, arrangement, and classification of the information. For product information and technology assistance, contact us at Gale Customer Support, 1-800-877-4253. 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 While every effort has been made to ensure the reliability of the information presented in this publication, Gale, a part of Cengage Learning, does not guarantee the accuracy of the data contained herein. Gale accepts no...

Words: 121839 - Pages: 488

Free Essay

Green

...No. Nama Perguruan Tinggi AKADEMI AKUNTANSI PGRI JEMBER Nama Pengusul Sisda Rizqi Rindang Sari Program Kegiatan Judul Kegiatan 1 PKMK KUE TART CAENIS ( CANTIK, ENAK DAN EKONOMIS) BERBAHAN DASAR TAPE 2 AKADEMI FARMASI KEBANGSAAN Nensi MAKASSAR AKADEMI KEBIDANAN CITRA MEDIKA SURAKARTA AKADEMI KEBIDANAN GIRI SATRIA HUSADA AKADEMI KEPERAWATAN KERTA CENDIKA SIDOARJO AKADEMI KEPERAWATAN KERTA CENDIKA SIDOARJO AKADEMI KEPERAWATAN KERTA CENDIKA SIDOARJO Putri Purnamasari PKMK LILIN SEHAT AROMA KURINDU PANCAKE GARCINIA MANGOSTANA ( PANCAKE KULIT MANGGIS ) 3 PKMK 4 Latifah Sulistyowati PKMK Pemanfaatan Potensi Jambu Mete secara Terpadu dan Pengolahannya sebagai Abon Karmelin (Karamel Bromelin) : Pelunak Aneka Jenis Daging Dari Limbah Nanas Yang Ramah Lingkungan, Higienis Dan Praktis PUDING“BALECI”( KERES) MAKANAN BERSERATANTI ASAM URAT 5 Achmad PKMK Zainunddin Zulfi 6 Dian Kartika Sari PKMK 7 Radita Sandia PKMK Selonot Sehat (S2) Diit untuk Penderita Diabetes 8 AKADEMI PEREKAM Agustina MEDIK & INFO KES Wulandari CITRA MEDIKA AKADEMI PEREKAM MEDIK & INFO KES Anton Sulistya CITRA MEDIKA AKADEMI PEREKAM Eka Mariyana MEDIK & INFO KES Safitri CITRA MEDIKA AKADEMI PEREKAM MEDIK & INFO KES Ferlina Hastuti CITRA MEDIKA AKADEMI PEREKAM Nindita Rin MEDIK & INFO KES Prasetyo D CITRA MEDIKA AKADEMI PEREKAM MEDIK & INFO KES Sri Rahayu CITRA MEDIKA AKADEMI PERIKANAN YOGYAKARTA PKMK Kasubi Wingko Kaya Akan Karbohidrat...

Words: 159309 - Pages: 638