Use this:
SELECT
Pieces, Price,
Pieces * Price as 'Total'
FROM myTable
More Related Contents:
- Recreating a query using INNER JOIN? [duplicate]
- Create a Cumulative Sum Column in MySQL
- MySQL: Enable LOAD DATA LOCAL INFILE
- Equivalent of explode() to work with strings in MySQL
- mysql select dynamic row values as column names, another column as value
- Access denied for user ‘root’@’localhost’ (using password: YES) (Mysql::Error)
- MySQL root access from all hosts
- Setting up MySQL and importing dump within Dockerfile
- How to import data from text file to mysql database
- Select last N rows from MySQL
- SQL – IF EXISTS UPDATE ELSE INSERT INTO
- Why there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT clause?
- Simple Random Samples from a Sql database
- How to select date from datetime column?
- node.js mysql error: ECONNREFUSED
- How do I use properly CASE..WHEN in MySQL
- Delete query not working in mysql
- Not unique table/alias
- SQL Server equivalent of substring_index function in MySQL
- Remote connect to clearDB heroku database
- MySQL foreign key to allow NULL?
- MySQL : When stored procedure parameter name is the same as table column name
- Does a UNIQUE constraint automatically create an INDEX on the field(s)?
- MySQL 5.0 indexes – Unique vs Non Unique
- MySQL – Select from a list of numbers those without a counterpart in the id field of a table
- MySql – How get value in previous row and value in next row? [duplicate]
- Updating table in trigger after update on the same table
- Autostart MySQL Server on Mac OS X Yosemite/El Capitan
- mysql double-quoted table names
- MySQL giving “read ECONNRESET” error after idle time on node.js server