Write a query Where,Groupby,having clauses?

Answers were Sorted based on User's Feedback



Write a query Where,Groupby,having clauses?..

Answer / reddy

select userid from usertable where username like '%raj%'
group by userid having userid between 1 and 4

Is This Answer Correct ?    12 Yes 3 No

Write a query Where,Groupby,having clauses?..

Answer / subhrangshu

Select ASSOCIATED_PRODUCT , MAX(YEARS)
from Contract
where CONTRACT_STATUS LIKE 'Executed'
group by ASSOCIATED_PRODUCT
having MAX(MONTHS) > 6

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More Dot Net AllOther Interview Questions

what are the things we generally declare in session_start , application_start ?

2 Answers  


Define an interrupt? : Dot net architecture

1 Answers  


What is .net transaction?

1 Answers  


Explain dma? : .NET Architecture

1 Answers  


How to call .NET Web service from Java Appl. & Why ?

1 Answers  


Hi, this is satish, i have more than 2 years of exp. on Microsoft .Net Technologies like C#, ASP.Net, VB.Net. But i am willing to change my platform into Testing tool. give me best suggestion for me.

2 Answers  


How do I prevent concurrent access to my data?

1 Answers  


6. Wcf- what is SOA

1 Answers   PCS,


What are the main Tools to develop .Net Application?

1 Answers   HCL,


What is the difference between machine config vs. Web config : Dot net architecture

1 Answers  


What is cache coherency and how is it eliminated? : Dot net architecture

1 Answers  


What is the difference between l1 and l2 cache? : Dot net architecture

1 Answers  


Categories