UPDATE statement can on a single table or on the multiple
table?
Answer Posted / swati tripathi
single table only
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?
How to create prepared statements using odbc_prepare()?
What is policy based management (pbm)? : sql server database administration
What is the maximum row of a size?
What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?
What are the 3 types of schema?
What is field in algebra?
How many triggers you can have on a table?
what is the difference between count(*) and count(1) ?
Where is trigger in sql server?
What the different types of Replication and why are they used?
What are three major types of constraints?
Where do we use trace frag?
What do you understand by replication in sql server? Mention the different types of replication in sql server.
What are views used for?