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
how to concatenate two character strings? : Sql dba
Which is better trigger or stored procedure?
What are different clauses used in sql?
How do I find duplicates in sql?
What is schema in sql?
What does over partition by mean in sql?
How do I upgrade sql?
Why is a trigger used?
What is sql architecture?
How can I tell if sql is running?
How many joins can you have in sql?
Explain what is a subquery ?
Why we use triggers in mysql?
Mention what pl/sql package consists of?
What is prepared statement in sql?