how to calculate expressions with sql statements? : Sql dba
Answer / Rajnish Kumar Shriwastawa
SQL allows you to perform calculations using functions and operators. You can use arithmetic operators (+, -, *, /) for basic calculations, and mathematical functions like SUM(), AVG(), MAX(), MIN(), COUNT(), and others for more complex calculations. For example, to calculate the average salary of employees from the 'employees' table, you can use: SELECT AVG(salary) FROM employees;
| Is This Answer Correct ? | 0 Yes | 0 No |
how to use myisamchk to check or repair myisam tables? : Sql dba
What are the advantages and disadvantages, compared to the standard SQL and SQL*plus ?
what is “go” in t-sql? : Transact sql
when normalization is required
counting the no.of characters occurs in a string by using pl/sql function
Maximum how many triggers can we use in trigger and How to find out how many records it fetched.
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
What is right join in sql?
What is consistency?
How do you truncate?
how to load data files into tables with 'mysqlimport'? : Sql dba
What is the difference between left outer join and left join?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)