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
Are stored procedures faster than dynamic sql?
Is sql open source?
Is crud a cuss word?
What is pivot query?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
Explain normalization and what are the advantages of it?
What are different types of indexes?
describe transaction-safe table types in mysql : sql dba
What is sqlerrm?
Why is sql better than hql?
What is posting?
What is schema in sql?
Which language is used in sql?
How many sql commands are there?
How many types of privileges are available in sql?