table name: prod there are three fields in the table that are
1.proddate
2.prodQty
3.model
Day wise prodQty is stored in the table prod
write a query to display total prodqty in the year 2004 april.
Answer Posted / ajit
SELECT SUM(PRODQTY) FROM EMP WHERE TO_CHAR(PRODDATE,'MON-YYYY')='APR-2014';
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is it possible to pass parameters to triggers?
Can we call a function containing dml statements in a select query?
What is range partitioning?
What does select top 1 do in sql?
what is bdb (berkeleydb)? : Sql dba
Does access use sql?
What is rename command in sql?
What is rank function in sql?
What is the difference between count 1 and count (*) in a sql query?
Can we update views in sql?
Is ms sql traffic encrypted?
What is data manipulation language?
Why do we use joins?
What is sqlca in powerbuilder?
Do we need to create index on primary key?