Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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
 
Old January 21st, 2006, 05:02 PM
Registered User
 
Join Date: Jan 2006
Location: Pendleton, IN, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL - Help with Joins

Here's my situation:

tblRefs:
  RefID
  FirstName
  ...etc.

tblDates:
  DateID
  DateData

tblSports:
  SportID
  Sport

tblOffDates:
  RefID
  DateID

tblOffSports:
  RefID
  SportID

I need to be able to get a recordset that contains referees who are NOT working on a specific date. For example, Mr. Scheduler asks to find a basketball referee who is open on Feb 1, 2006. How do I get all the refs who do NOT have a record for that date?

Thanks in advance for your help!!




Similar Threads
Thread Thread Starter Forum Replies Last Post
Joins in SQL Server debsoft SQL Server 2005 2 May 10th, 2007 08:23 AM
SQL Joins in XPath arcuza XSLT 0 March 16th, 2005 01:05 PM
Union joins in SQL sellis Access 3 April 7th, 2004 12:25 AM
SQL Table Joins Dredd Classic ASP Databases 2 June 3rd, 2003 06:24 PM





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