Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can Having clause be used without Group by clause?

Answer Posted / phani

we can use, but select columns and having columns should
use with aggregare functions

ex:
select max(empid), min(marks)
from employee
having max(empid_id)>100

Is This Answer Correct ?    72 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?

1032


When do you think a developer should use sql server-based cursors?

1047


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1748


How to transfer data from a cursor to variables with a "fetch" statement?

1097


What are a scheduled jobs?

956


What are the types of processing and explain each? : sql server analysis services, ssas

1150


What are group functions in query statements in ms sql server?

1003


How dts is used to extract, transform and consolidate data?

1073


What is difference between getdate and sysdatetime in sql server 2008?

1047


How we can refresh the view?

1106


What is 'Join' and explain its various types.

1134


Where the sql logs gets stored?

984


What are the hotfixes and patches in sql server?

1017


What is logon trigger?

1091


Is port 1433 secure?

997