Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 906327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:22:13+00:00 2026-05-15T16:22:13+00:00

I am a student this is homework. I use SQL server to check my

  • 0

I am a student this is homework. I use SQL server to check my work but have to write script by hand.

Create and display a VIEW that
displays the account balance subtotals
for each account group. Account group
is defined as the first two digits of
the account number. Display a grand
total of the balance column at the end
of the display.

I have one table with 4 columns. Account(numbers), Description, Short_Description, and Balance(money). The Account numbers range from 100001-610003. COA is the chart of accounts that is an excel link. Thanks for any advice.

This is what I have so far…

CREATE VIEW [account_balance_sums]
 AS 
 SELECT Account, Short_Description,Balance
 FROM COA
 Where Account, (first two digits 10-61 of account #)
 AND sum
 GO

SELECT * FROM [account_balance_sums]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:22:14+00:00Added an answer on May 15, 2026 at 4:22 pm

    I don’t want to do it for you as you will never learn but you will need the GROUP BY clause.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a student this is homework... The tables are there but data isn't
Programming Student here...trying to work on a project but I'm stuck. The project is
I am a student this is my LAST homework assignment : ) /* **(4.9)
This IS NOT a Homework question! While building my current student database project I
First of all this is homework. I have been trying to get rid of
Some student asked this on another site, but got no answers. I had a
The purpose of this component is to test knowledge of a student on a
I'm a Engineering student and I'm attending a Database and Information Systems class this
Full disclaimer: I'm a CS student, and this question is related to a recently
I've got a table of student information in MySQL that looks like this (simplified):

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.