You can make your query like this for getting same result that you want –
SELECT SUM(Total) as total,Name from table_name group by Name;
More Related Contents:
- query to find number of employees under each manager
- Adding an identity to an existing column
- String_agg for SQL Server before 2017
- Why would someone use WHERE 1=1 AND in a SQL clause?
- What is the purpose of system table master..spt_values and what are the meanings of its values?
- Unrecognized name: employees at [9:8]
- SQL ROWNUM how to return rows between a specific range
- Delete sql rows where IDs do not have a match from another table
- Why do people hate SQL cursors so much? [closed]
- Find closest numeric value in database
- Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0
- SQL: parse the first, middle and last name from a fullname field
- Permanently Set Postgresql Schema Path
- How can you tell if a value is not numeric in Oracle?
- Call dynamic SQL from function
- Why do NULL values come first when ordering DESC in a PostgreSQL query?
- Slow simple update query on PostgreSQL database with 3 million rows
- How do I alter the position of a column in a PostgreSQL database table?
- How to export image field to file?
- Move SQL data from one table to another
- How to unpivot in BigQuery?
- Nested select statement in SQL Server
- How to convert PostgreSQL 9.4’s jsonb type to float
- Find rows that have the same value on a column in MySQL
- Referencing current row in FILTER clause of window function
- How to Execute SQL Query without Displaying results
- How to insert a string which contains an “&”
- Subtracting Dates in Oracle – Number or Interval Datatype?
- PostgreSQL – dynamic value as table name [duplicate]
- Why are aggregate functions not allowed in where clause