Computing.Net > Forums > Database > Problems with query

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Problems with query

Reply to Message Icon

Name: tmochan
Date: July 20, 2009 at 10:21:21 Pacific
OS: Windows XP
Product: Corel Corel paradox 9.0 single 1-doc win 95/98/nt
Subcategory: PostgreSQL
Comment:

Am retrieving a list of appointments (diary) and have a start time, duration and location, together with other fields.

Where the location is the same and the times follow on, I'd like just the one record back, showing the complete length of time.

No idea where to start ... so far it looks like this ...

select
A."Time",
A."Duration",
A."Date",
A."Name",
A."Number",
A."Type",
A."Location"

FROM "APPOINTS" A

WHERE
(A."Date" BETWEEN '2009-07-20' AND '2009-07-22')

Any help appreciated.

Thanks

Tony



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


MS-Access query/report Validation rule for acces...


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Problems with query

Access/Word Merge Problem - Help! www.computing.net/answers/dbase/accessword-merge-problem-help/277.html

Problem with UNION query and DISTINCT www.computing.net/answers/dbase/problem-with-union-query-and-distinct/672.html

sql syntax problem www.computing.net/answers/dbase/sql-syntax-problem/291.html