CrazyEngineers Forum - Computer Science & IT Engineering |
| Posted: 17 Mar 2011 11:45 PM PDT the It branch has different technologies included in it where it is more useful for the development of the softwares. <snipped> |
| Enhance your debugging skills! Posted: 17 Mar 2011 09:50 AM PDT Hi CEans If you think that you are good at debugging then why dont you try some of the debugging questions posted below.Post your output along with the correct code.The one who answers for more number of questions will get a prize from me.I will post more questions as soon as i get the answers for these questions. 1.Please dont use thanks,good,bad etc.Use "like" button if you think that it is good. 2.Dont use sms language. 3.The one who gives correct answer with the executable code will be taken first. 4.Please enclose your program using code tag. 1.what is the output?? Code: #include<stdio.h>A) Select * from employees where salary>(select min(salary) from employees group by dept_id)); B) Select * from employees where salary=(select avg(salary) from employees group by dept_id)); C) Select distinct dept_id from employees where salary> any (Select avg(salary) from employees group by dept_id) D) Select dept_id from employees where salary>all(Select avg(salary) from employees group by dept_id)); E) select name from employees where salary>any(select max(salary) from employees group by dept_id)); F) Select dept_id from employees where salary>all(Select avg(salary) from employees group by avg(salary)) 3.what is the output? Code: #include<stdio.h>Code: #include<stdio.h>Code: #include<stdio.h> |
| You are subscribed to email updates from CrazyEngineers Forum - Computer Science & IT Engineering To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |
No comments:
Post a Comment