What is the datatype returned by count(*)
Answer Posted / siva
it returns int
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can you explain what is sql server english query?
What are system databases into sql server (2005/2008)?
Explain the working of sql privileges?
What is PROJECTION Operation?
How to test odbc dsn connection settings?
How many clustered indexes there can be on table ?
How to delete multiple rows with one delete statement in ms sql server?
Which table keeps information about stored procedures?
How data can be copied from one table to another table?
how many type of indexing in database?
Why we use the openxml clause?
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 find the second highest salary of an employee?
How to list all tables in the database using odbc_tables()?
How to copy data from one table to another table?