General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 3rd, 2010, 12:24 AM
EvoRT EvoRT is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2010
Posts: 1 EvoRT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 4 sec
Reputation Power: 0
Post How a select count works??

Hello
Am trying to understand the concept behind a select count() statement, what steps are involved etc?

As an example, say we have to check for duplicate rows with col1 value, where col1 is not a PK field

select col1, count(col1)
from table1
group by col1
having count(col1) > 1

What I want to know is stepwise what this sql is doing in the backgound .

Reply With Quote
  #2  
Old April 22nd, 2011, 05:01 PM
crismanaon crismanaon is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2011
Posts: 4 crismanaon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 43 sec
Reputation Power: 0
If you want to more info than study book thats name allapati, great bookfor learning.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > How a select count works??


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap