InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Problem using "SELECT...FROM...IN(SELECT.....)"



Steve Schudlo wrote:
> 
> SELECT accession_num FROM sample WHERE creation_data IN (SELECT
> MAX(creation_date) from SAMPLE GROUP BY patient_id)
 
Is this a typo?  You have creation_data on the left hand side of IN and
MAX(creation_date) on the right hand side.  Also, 'sample' and 'SAMPLE'
are different tables if IDB is case sensitive.

Toby.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.