LoginSignup
0
0

More than 5 years have passed since last update.

四則演算を行う

Last updated at Posted at 2016-11-05

ここではSQLで四則演算を行う方法を紹介します.四則演算には加算(+),減算(-),乗算(*),除算(/)があります。

レコードの同士を足すことが可能です。

SELECT 別名テーブル.レコードA + 別名テーブル.レコードB AS 別名レコードAとBの合算値 FROM 別名テーブルの参照元 別名テーブル;
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0