SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 select more than one column with count func
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

younas02
Starting Member

Pakistan
21 Posts

Posted - 06/28/2012 :  10:03:01  Show Profile  Reply with Quote
hi.
i want to select rows with count function.
i want to select name, fathername, count(marks) with a condition like percentage >50, count(status) with a condition like pass or fail
is it possible ?
plzz help me

TG
Flowing Fount of Yak Knowledge

USA
5469 Posts

Posted - 06/28/2012 :  10:16:32  Show Profile  Reply with Quote
Dude - please don't cross post.
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=176267
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=176266
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=176265
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=176263
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=176262
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=176261

Be One with the Optimizer
TG
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000