What is row_number () and partition by in sql server?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL Server Interview Questions

What is #temp and @table variable in SQL server?

0 Answers  


What are the aggregate and scalar functions?

0 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?

0 Answers   TCS,


Explain what is scheduled job and how to create it?

0 Answers  


how to find the particular row in table?(means suppose one table contain 10 rows , in these 10 rows how to find the particular row(example in 10 rows i want 5 row how)?

16 Answers   Accenture, IBM, Marlabs,






what purpose does OPENXML clause have in sql server stored procedure?

1 Answers  


If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio

0 Answers  


Explain the difference between delete,drop and truncate in SQL Server?

0 Answers   HCL,


What is the purpose of indexing?

0 Answers  


How to replace the Query Result 'Null Value' with a text ?

0 Answers   MCN Solutions,


Why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it?

0 Answers  


What is scrollable cursor?

0 Answers  


Categories