For Microsoft Access:

SELECT dbo_EA7RECORDS.FIRSTNAME, dbo_EA7RECORDS.LASTNAME, dbo_EA7RECORDS.NICKNAME, dbo_EA7RECORDS.USERDEFINEDID, dbo_TABLEENTRIES.DESCRIPTION, dbo_TABLEENTRIES.ENTRYID

FROM (dbo_EA7STUDENTS INNER JOIN dbo_EA7RECORDS ON dbo_EA7STUDENTS.EA7RECORDSID = dbo_EA7RECORDS.EA7RECORDSID) INNER JOIN dbo_TABLEENTRIES ON dbo_EA7RECORDS.GRADELEVEL = dbo_TABLEENTRIES.TABLEENTRIESID

ORDER BY dbo_EA7RECORDS.LASTNAME;


For Microsoft SQL Server Query Analyzer:

SELECT EA7RECORDS.FIRSTNAME, EA7RECORDS.LASTNAME, EA7RECORDS.NICKNAME, EA7RECORDS.USERDEFINEDID, TABLEENTRIES.DESCRIPTION, TABLEENTRIES.ENTRYID

FROM (EA7STUDENTS INNER JOIN EA7RECORDS ON EA7STUDENTS.EA7RECORDSID = EA7RECORDS.EA7RECORDSID) INNER JOIN TABLEENTRIES ON EA7RECORDS.GRADELEVEL = TABLEENTRIES.TABLEENTRIESID

ORDER BY EA7RECORDS.LASTNAME


Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Structured Query Language and the tools used to create and modify SQL statements and Crystal Reports. Our Customer Support may help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality.