table:employee EID ENAME MID(manager ids) 101 rama null 102 sita 101 103 siva 101 104 ganesh 103 . . . . . . for 103 ID the manager ID is 101(RAMA) and for 104 manager is SIVA if i give employee id (EID) you have to tell the manager for that EID write query? eample:if i give 102 .The query output should be manager for 102 ID that it should print RAMA as output
7 10343Table student containing 2 columns,Join date,Employee name. Under join date 4 rows r ter =1-jan-2008,2-feb-2008,3-mar- 2008,4-feb-2008.Under Employee name 4 difeerent names jaison,robin,binoy,rahul Result set is, Table containing 4-column name=jan,feb,mar,april,,beneath these months count is given as 1,2,1,0 means these counts representing number of emplooyees joined in a month(january 1employee,february 2 employee,march 1 employee,april 0 employee) Can you give me the required sql query
3 7169What is the difference between MVC and Teir Architecher? Plz explain with Layyered Programming example...? Thanks
TCS,
2065hi, i have a table called names and field name select * from names name a b c d i want to display like this name a,b,c,d how it is possible Regards Baiju
4 6830How can count the string ? for ex: If i have string like 'bhaskar' then i need like b:1 h:1 a:2 s:1 k:1 r:1 please give any idea on that
TCS,
9 11610What is the difference between the following two sql
statements
select count(*) from
What are the advantages of using stored procedures? Please don't simply say compilation time will be saved as they are already complied. Please specify some other advantages.
3 6377
How do I delete a sql server database?
How to change the password of a login name in ms sql server?
What is delete query?
What are magic tables in sql server?
Can we create clustered index on composite key?
What is a ddl statement?
What is application role in sql server database security? : sql server security
What is cached report?
Tell me what is a linked server?
What are constraints in microsoft sql server?
What is difference between order by and group by?
How can we determine what objects a user-defined function depends upon?
What are indexes in ms sql server?
What are the system database in sql server 2008?
Tell me the phases a transaction has to undergo?