What is the importance of a recovery model?
No Answer is Posted For this Question
Be the First to Post Answer
Can the query output be sorted by multiple columns in ms sql server?
I Have Employee table having column name as ID,SALARY how to get second max salary from employee table with id ex ID SALARY 1 20000 7 37000 2 5000
17 Answers HCL, IBM,
How to use column default values in insert statements in ms sql server?
what are the limitations of parameters in a storedprocedure
What is the difference between substr and charindex in the sql server?
What is named query? : sql server analysis services, ssas
What is an index in a database?
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?
What is t-sql script to take database offline – take database online.
How to copy the tables, schema and views from one sql server to another?
How to list all triggers in the database with sys.triggers in ms sql server?
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?