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
What is normalization sql?
What are commit, rollback, and savepoint?
What are aggregate functions in sql?
Write a query to find the names of users that begin with "um" in sql?
what is rollback? : Sql dba
How many types of keys are there in sql?
What is the difference between sql and mysql?
Can I join the same table twice?
how can we destroy the cookie? : Sql dba
how to drop an existing view in mysql? : Sql dba
Enlist some predefined exceptions?
what is oltp (online transaction processing)? : Sql dba
Mention what does the hierarchical profiler does?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
Can cursors be part of a trigger body?