wa procedure to return the month and the no'f developers
joined in each month.
Answer Posted / arrry.net
It's simple
No need to use Cursor for that
select Month(Joindate)as MONTH,count(*) as empCount from dbo.tblEmployee
Group by Month(Joindate)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how to present a past time in hours, minutes and seconds? : Sql dba
what are all the common sql function? : Sql dba
Is full outer join same as cross join?
What is the difference among union, minus and intersect?
What is union and union all keyword in sql?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
What is a Mapplet?
what is the difference between group by and order by in sql? : Sql dba
Can we use loop in sql?
What is sql comments?
What is query execution plan in sql?
How do you exit in sql?
What programs use sql?
how to fetch alternate records from a table? : Sql dba
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.