.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

getting information from table

Posted By: Rajesh     Posted Date: April 02, 2010    Points:2   Category :Sql Server
how to get id where value>50000 ( every id exits more times)
ex: customer
id value
1 2000
2 3000
1 4000
2 3000
1 4000

Author: Dilip             
Posted Date: April 02, 2010     Points: 5   

This is very simple.

Select * from Customer where value>50000

I am not sure if your question is according to the way you posted earlier. I bilieve you wanted to ask something more complex. Please expain your question properly

Author: Syed Shakeer Hussain             
Posted Date: April 02, 2010     Points: 5   


Select id from Customer where value > 50000  

Author: Rajesh             
Posted Date: April 08, 2010     Points: 5   

customer id is existing more than one time. And i wann add the values according to cusomer id and
then i wanna get the value>5000

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend