Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Microsoft SQL Server 2008 Programming
This is the forum to discuss the Wrox book Professional Microsoft SQL Server 2008 Programming by Robert Vieira; ISBN: 9780470257029
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft SQL Server 2008 Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 24th, 2012, 12:33 PM
Authorized User
Points: 245, Level: 4
Points: 245, Level: 4 Points: 245, Level: 4 Points: 245, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2006
Location: Houston, TX, USA.
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ricespn
Default Get Completed Boxes from a table

Hi guys,

I have the folloing table:

docID, boxNumber, docCompleted

1235, box01, true
1234, box01, true
1233, box01, false
1245, box02, true
1987, box03, true
1097, box06, false

I'm trying to use a Distinct to display the box number that have been competed. If I do my query like so:

Code:
Select distinct(boxNumber) from table1 where docCompleted=true
but that will list box01 even tho one docID (1233) is not completed.

Any help ?
__________________
=======================
Strange and crazy, but everything is possible
  #2 (permalink)  
Old June 25th, 2012, 01:40 PM
Authorized User
Points: 245, Level: 4
Points: 245, Level: 4 Points: 245, Level: 4 Points: 245, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2006
Location: Houston, TX, USA.
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ricespn
Default

Man Really, no one?. Thats the reason I dont like to post in forums. Everyone are looking for help but so little helpers.

__________________
=======================
Strange and crazy, but everything is possible


Similar Threads
Thread Thread Starter Forum Replies Last Post
Completed exercise files? thorwm BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 8 February 25th, 2009 09:57 PM
Check boxes to appear with Table Names hewstone999 Access VBA 1 March 13th, 2008 10:51 AM
Anyone successfully completed the book? asptwodev BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 November 18th, 2006 10:17 AM
Anyone have completed recipes? efireb33 Dreamweaver (all versions) 1 November 15th, 2004 05:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.