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 coalesce faster than isnull?
Is sql microsoft?
Explain lock escalation? : Transact sql
What is bitemporal narrowing?
How can one get sql*loader to commit only at the end of the load file? : aql loader
What is error ora-12154: tns:could not resolve the connect identifier specified?
when MSQL8.0 is in market
Is foreign key mandatory?
What is sequence in sql?
Explain 3 basic parts of a trigger.
What is pls_integer in pl sql?
What are the events on which a database trigger can be based?
What are the different types of tables in sql?
Can we create index on primary key?
what are the non-standard sql commands supported by 'mysql'? : Sql dba