Disciplines
- MLA
- APA
- Master's
- Undergraduate
- High School
- PhD
- Harvard
- Biology
- Art
- Drama
- Movies
- Theatre
- Painting
- Music
- Architecture
- Dance
- Design
- History
- American History
- Asian History
- Literature
- Antique Literature
- American Literature
- Asian Literature
- Classic English Literature
- World Literature
- Creative Writing
- English
- Linguistics
- Law
- Criminal Justice
- Legal Issues
- Ethics
- Philosophy
- Religion
- Theology
- Anthropology
- Archaeology
- Economics
- Tourism
- Political Science
- World Affairs
- Psychology
- Sociology
- African-American Studies
- East European Studies
- Latin-American Studies
- Native-American Studies
- West European Studies
- Family and Consumer Science
- Social Issues
- Women and Gender Studies
- Social Work
- Natural Sciences
- Anatomy
- Zoology
- Ecology
- Chemistry
- Pharmacology
- Earth science
- Geography
- Geology
- Astronomy
- Physics
- Agriculture
- Agricultural Studies
- Computer Science
- Internet
- IT Management
- Web Design
- Mathematics
- Business
- Accounting
- Finance
- Investments
- Logistics
- Trade
- Management
- Marketing
- Engineering and Technology
- Engineering
- Technology
- Aeronautics
- Aviation
- Medicine and Health
- Alternative Medicine
- Healthcare
- Nursing
- Nutrition
- Communications and Media
- Advertising
- Communication Strategies
- Journalism
- Public Relations
- Education
- Educational Theories
- Pedagogy
- Teacher's Career
- Statistics
- Chicago/Turabian
- Nature
- Company Analysis
- Sport
- Paintings
- E-commerce
- Holocaust
- Education Theories
- Fashion
- Shakespeare
- Canadian Studies
- Science
- Food Safety
- Relation of Global Warming and Extreme Weather Condition
Paper Types
- Movie Review
- Essay
- Admission Essay
- Annotated Bibliography
- Application Essay
- Article Critique
- Article Review
- Article Writing
- Assessment
- Book Review
- Business Plan
- Business Proposal
- Capstone Project
- Case Study
- Coursework
- Cover Letter
- Creative Essay
- Dissertation
- Dissertation - Abstract
- Dissertation - Conclusion
- Dissertation - Discussion
- Dissertation - Hypothesis
- Dissertation - Introduction
- Dissertation - Literature
- Dissertation - Methodology
- Dissertation - Results
- GCSE Coursework
- Grant Proposal
- Admission Essay
- Annotated Bibliography
- Application Essay
- Article
- Article Critique
- Article Review
- Article Writing
- Assessment
- Book Review
- Business Plan
- Business Proposal
- Capstone Project
- Case Study
- Coursework
- Cover Letter
- Creative Essay
- Dissertation
- Dissertation - Abstract
- Dissertation - Conclusion
- Dissertation - Discussion
- Dissertation - Hypothesis
- Dissertation - Introduction
- Dissertation - Literature
- Dissertation - Methodology
- Dissertation - Results
- Essay
- GCSE Coursework
- Grant Proposal
- Interview
- Lab Report
- Literature Review
- Marketing Plan
- Math Problem
- Movie Analysis
- Movie Review
- Multiple Choice Quiz
- Online Quiz
- Outline
- Personal Statement
- Poem
- Power Point Presentation
- Power Point Presentation With Speaker Notes
- Questionnaire
- Quiz
- Reaction Paper
- Research Paper
- Research Proposal
- Resume
- Speech
- Statistics problem
- SWOT analysis
- Term Paper
- Thesis Paper
- Accounting
- Advertising
- Aeronautics
- African-American Studies
- Agricultural Studies
- Agriculture
- Alternative Medicine
- American History
- American Literature
- Anatomy
- Anthropology
- Antique Literature
- APA
- Archaeology
- Architecture
- Art
- Asian History
- Asian Literature
- Astronomy
- Aviation
- Biology
- Business
- Canadian Studies
- Chemistry
- Chicago/Turabian
- Classic English Literature
- Communication Strategies
- Communications and Media
- Company Analysis
- Computer Science
- Creative Writing
- Criminal Justice
- Dance
- Design
- Drama
- E-commerce
- Earth science
- East European Studies
- Ecology
- Economics
- Education
- Education Theories
- Educational Theories
- Engineering
- Engineering and Technology
- English
- Ethics
- Family and Consumer Science
- Fashion
- Finance
- Food Safety
- Geography
- Geology
- Harvard
- Healthcare
- High School
- History
- Holocaust
- Internet
- Investments
- IT Management
- Journalism
- Latin-American Studies
- Law
- Legal Issues
- Linguistics
- Literature
- Logistics
- Management
- Marketing
- Master's
- Mathematics
- Medicine and Health
- MLA
- Movies
- Music
- Native-American Studies
- Natural Sciences
- Nature
- Nursing
- Nutrition
- Painting
- Paintings
- Pedagogy
- Pharmacology
- PhD
- Philosophy
- Physics
- Political Science
- Psychology
- Public Relations
- Relation of Global Warming and Extreme Weather Condition
- Religion
- Science
- Shakespeare
- Social Issues
- Social Work
- Sociology
- Sport
- Statistics
- Teacher's Career
- Technology
- Theatre
- Theology
- Tourism
- Trade
- Undergraduate
- Web Design
- West European Studies
- Women and Gender Studies
- World Affairs
- World Literature
- Zoology
Structured Query Language Skills, Essay Example
Hire a Writer for Custom Essay
Use 10% Off Discount: "custom10" in 1 Click 👇
You are free to use it as an inspiration or a source for your own work.
Our development team is sharpening their SQL skills. We need to create the SQL select statements that would produce running summary files for reports on customer volume by month the details of which include customer ID, month, total shipments, and total weight. Furthermore, we need to generate a report to compile driver performance by month the details of which will include driver ID, month, and number of manifests on time, and number of manifests delivered late.
As such, we are faced with certain questions. From where should we source the information for the design? Our transaction processing database will serve as the repository of information we will use to collate the necessary information for each report. Nevertheless, some information will best be generated “on-the-fly” – as the report is run (Date, 1999). For example
What difficulties will we encounter writing the SQL statements for each of these tables? One of the primary challenges the team faces is constructing the SQL statements in appropriate syntax. It is one thing to develop a psuedocode algorithm of the necessary logic (Freetutes.com, 2011). It is quite another to translate the algorithm in a way such that the SQL will report what we wish it to. One case-in-point is how we will instruct the SQL to generate a count of certain fields such as number of manifests or total weight.
Should any of these tables be created on an as-needed basis? It seems both tables should be created on an as-needed basis because many of the outputs will change chronologically. For example, the total shipments for a given customer will probably from June 1st to June 30th and from June 15th to July 15th. So, to make sure the calculations are run each time the report is run the tables will be created as-needed.
Do these summary tables violate the concept of table normalization? They must violate certain rules, because each table is generated with only the data necessary to complete the report. That means each table will be unique and contain information that is only applicable to one record (Kent, 1983). These were some questions we faced as a result of executing the requirments of the design.
The resultant tables and SQL statements follow:
- Select Orders.Customerid, Sum(Orders.Weight) As Sumofweight, Orders.Date, Count(Shipments.Shipmentid) As Countofshipmentid
- From Orders, Shipments
- Group By Orders.Customerid, Orders.Date;
- Select Count(Shipments.Shipmentid) As Countofshipmentid, Shipments.Driver, Shipments.Ata, Sum(Shipments.Weight) As Sumofweight
- From Orders, Shipments
- Group By Shipments.Driver, Shipments.Ata
- Having (((Shipments.Ata)<[Shipments]![Eta]));
Our development team has been sharpening their SQL skills with the following task. We needed to create the SQL select statements that would produce running summary files for reports on customer volume by month the details of which include the customer ID, the month, the total shipments, and the total weight. Furthermore, we need to generate a report to compile driver performance by month the details of which will include the driver ID, the month, and the number of manifests on time, and the number of manifests delivered. As a result of executing the requirements of the design, we answered a number of critical questions about the source of the data, problems that may be encountered, whether the tables would be created as-needed, and whether they violate the rules of normalization. Furthermore, examples, sample tables and SQL logic were provided in the explanations.
References
Date, C. J. (1999). An Introduction to Database Systems (8th ed.). Addison-Wesley Longman.
Freetutes.com (2011). Systems analysis and design: Complete introductory tutorial for software engineering. Freetutes.com. Retrieved from http://www.freetutes.com/systemanalysis/
Kent, W. (1983). A Simple Guide to Five Normal Forms in Relational Database Theory, Communications of the ACM, 26: 120–125.
Stuck with your Essay?
Get in touch with one of our experts for instant help!
Time is precious
don’t waste it!
writing help!
Plagiarism-free
guarantee
Privacy
guarantee
Secure
checkout
Money back
guarantee