Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > BOOK: Beginning SQL
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning SQL
This is the forum to discuss the Wrox book Beginning SQL by Paul Wilton, John Colby; ISBN: 9780764577321
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning SQL section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old February 24th, 2010, 02:12 AM
Registered User
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post learner SQL SERver 2005 need help for an interview question


I am having a query,
I had a table named tblBooking
There exist 3 columns in that table
Column Names BookingID StartTime EndTime
Datatye int varchar varchar
Sample data 1 10:00 11:00
2 11:00 12:00
3 01:30 03:30

I need to compare values of two columns StartTime EndTime
Query is : I had to alloacte a resource eg. Meeting Room This can be done on daily basis between 10:00 am to 7:00 pm. So I need to check the availibility of Meeting room on basis of Time. Considering all scenarios.
This was a question asked to me in an interview which I ws u
nable to answer so I need to find the way hw to do it

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about SQL Server 2005 and SQL Server Express Edition 2005 gfmann BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 May 24th, 2009 09:36 AM
Difference between SQL Server 2000 and SQL Server 2005 leena K SQL Server 2005 4 March 31st, 2009 09:07 AM
a question from an asp.net learner fish fqmsos110 ASP.NET 1.0 and 1.1 Basics 6 July 18th, 2008 06:39 AM
reg conn to sql server 2005 from vb.net 2005.. veda SQL Server 2005 2 July 1st, 2008 12:16 AM
migrating from sql server 2000 to sql server 2005 abinashpatra SQL Server 2005 2 December 1st, 2006 02:45 PM

All times are GMT -4. The time now is 01:11 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.