Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql average of multiple columns

SELECT avg(col1 + col2)
FROM test
WHERE uid=5;
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle trigger after logon on database 
Sql :: Write a query to create an empty table from an existing table? 
Sql :: mysql extract month from date 
Sql :: grant all privileges on a db 
Sql :: mysql limit rows 
Sql :: remove duplicates sql server select 
Sql :: MYSQL select last query 
Sql :: mysql else if 
Sql :: mysql insert value date 
Sql :: sql how to duplicate a table 
Sql :: mysql set password for user 
Sql :: sql decimal vs float 
Sql :: postgres delete all tables 
Sql :: postgres list all triggers 
Sql :: select count 
Sql :: alter column to null 
Sql :: How to drop a foreign key constraint in mysql ? 
Sql :: 3 days back in sql server 
Sql :: store select query result in variable sql server 
Sql :: check if string contains substring sql 
Sql :: create a sqlite database c# 
Sql :: mysql ip address data type 
Sql :: import all databases mysql 
Sql :: postgre describe table 
Sql :: how to identify locked tables in sql server 
Sql :: varchar vs nvarchar sql 
Sql :: oracle percentage 
Sql :: postgres select duplicate columns 
Sql :: how to connect sql database in python 
Sql :: csv into data postgres 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =