Preview

Learning Team Pos/410

Satisfactory Essays
Open Document
Open Document
434 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Learning Team Pos/410
Multiple Command Query
Create one query that uses the commands: COMPUTE, OR, IN, CAST, SUBSTR.
It should also contain one mathematical function\formula.
Discuss the logic that explains what this query does and why you created it.
The following command was executed:
Use KFF_TEAM_A
Go
SELECT ACCOUNT,SUBSTRING(SHORT_DESCRIPTION,1,10) AS SHORT_DESC,BALANCE FROM ACCOUNTS
WHERE CAST(ACCOUNT AS INT) Like '%6%' OR ACCOUNT IN(777777)
COMPUTE AVG(BALANCE)
The command produced the following results: Description of the command:
The SUBSTRING was used to shorten the length of the Short_Description Field for viewing purposes. The CAST command was used to restrict any account that did not have the number 6 in it. The OR at the end of that statement was used to include an account named 777777. The COMPUTE command computed the average balance of the accounts meeting all the above requirements.

Grand Total of the Balance Field
Test the database by means of a query by account number and a report totaling the balance field. This query needs to display all fields (description, short description, and balance) using the account number as the key to the query. The report will display all fields with a break based on the first two digits of the account number and subtotal of the balance field at each break. A grand total of the balance field will be provided at the end of the report.

SELECT Account,Description,Short_description,Balance FROM ACCOUNTS ORDER by left(Account, 2) COMPUTE sum(Balance) by left(Account, 2) COMPUTE sum(Balance);

Kudler Fine Foods
Balance Sheet
November 08, 2010
Assets
Current Assets: Cash
Accounts Receivable
Less: Reserve for Bad Debts
Merchandise Inventory
Prepaid Expenses
Notes Receivable
$86,000
$0 $1,430,000 $86,000
$429,000
$26,000 $0 Total Current Assets $1,971,000
Fixed Assets: Vehicles
Less: Accumulated Depreciation

Furniture and Fixtures
Less: Accumulated

You May Also Find These Documents Helpful

  • Satisfactory Essays

    i. List the customer number, last name, first name, and balance of every customer, sort by balance in descending order, and last name in ascending order.…

    • 2322 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    Ac550 Course Project

    • 579 Words
    • 3 Pages

    |Making proper selection of accounts | 20 | 20 | From the provided listing of accounts determine which accounts are |…

    • 579 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Write a 1,050- to 1,750-word paper examining potential trade barriers and how they affect market access to your target market, which you identified in Learning Team Meeting One. Then, identify the specific barriers to the natural resources and/or products by the target market and recommend how they may be overcome. Finally, analyze the role of economic integration in overcoming trade barriers.…

    • 431 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    3. Review the Financial Statements: Balance Sheet from Section 9, Lesson 2 of this course. Use the…

    • 573 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Ly, K. (2010). Investor relations level and cost of capital: Evidence from Japanese firms. Asia –…

    • 865 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Select in preparation for this assignment a psychological measure of depression, such as the Beck Depression Inventory or Children’s Depression Inventory. Obtain faculty approval of your selected measure prior to beginning this assignment. Individual portions due to the team forum by Friday. Please make sure a team member will be compiling the project and submitting it to the assignments link.…

    • 210 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    The unemployment rate in the United States has dropped significantly ever since the economy crashed in 2008 when unemployment rapidly climbed. Unemployment is still higher than it should be but at least the rate is decreasing. On a national level the unemployment rate has dropped from 8.3% in January 2012 to 7.9% in January 2013 (United States Department of Labor, 2013). Over the past year unemployment has changed very little with an exception of a drastic decline in unemployment during the third quarter of 2012 (United States Department of Labor, 2013). According to the United States Department of Labor, more than 300 thousand persons was removed from the labor force willing and able to work; however, did not actively search for a job within the last four weeks. This contributed to the fall in unemployment rates. Employment has…

    • 1516 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    Make an effort to personally meet each of your professors at the start of the term. You need to know the locations of their offices and how to contact them. Make sure you develop a solid relationship with them. You never know when you may need their assistance, and if they like you, they are much more willing to help.…

    • 409 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In this file of SOC 315 Week 3 Learning Team Assignment Diversity Outline you will find the next information:…

    • 516 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Treat fellow team members with courtesy. Everyone on the team will put a substantial amount of effort into their parts of the assignments, and each team member must treat the Learning Team assignment like an individual assignment on which they wish to earn top marks.…

    • 471 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    According to Dictionary.com innovation strategy is a plan made by an organization to encourage advancement in technology or services, usually by investing in research and development activities. An organizations innovation strategy must align with its mission and vision statements, along with aligning with the organizations statements it must also align with outside sources strategies like suppliers and manufacturing. If the process and products strategy do not align this could quickly drive up cost and risk for the organization. There are three pillars of innovation strategy (1) research and development ideation, (2) Life cycles and product innovation strategy, (3) information/idea transference and customer feedback, using these an organization can focus on to help ensure that it is successful.…

    • 687 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Taking the war in Afghanistan as a political issue, each Learning Team is assigned a role as follows: Team A -- Special Interest Group, Team B -- Lobbyist, Team C -- Institutional Elite.…

    • 439 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    o Describe how managers, when applying leadership principles, can contribute to a healthy organizational culture.…

    • 222 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    In the file ACC 290 Week 2 Learning Team Reflection you will find overview of the following parts: Learning Team Reflection Paper Four Basic Financial Statements Rules of Debit and Credit Journalizing Basic Transactions Use of Financial Statements to External Users Conclusion References…

    • 393 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Even though what Tracfone is doing is not illegal and I’m sure was clearly stated in the customer agreement that was signed by the customer its sometimes best to settle than to waist money and take your chances on someone else deciding whether the company should be help legally responsible. The owner or whomever is making the decisions should decide on what the person or group of people are trying to get out of this case is worth settling on. If the complaint is that they weren’t given what they thought they were given than the company may want to give them what they expected for the time period that the service was paid for. With prepay payment is usually made one month at a time so the company may want to give them a free month with the expectations they…

    • 446 Words
    • 2 Pages
    Satisfactory Essays