Sample ODBC/SQL queries for getting Sales Order information, Customer Information, and inventory information?

SUGGESTED

Can anyone offer any sample SQL scripts for getting information, such as Customer Information (given a customer ID), sales order information (given a sales order number or customer ID), and/or inventory information (given an Item ID) out of the database using an ODBC connection?

I've gone through some of the documentation in the Sage 50 help file, but this only really givens a general overview of certain files used in the database, primarily for use with Crystal Reports which I will not be using.

I'm needing to write an app for our business that will utilize this information (as I can't find a suitable third-party app for our specific needs at the moment).  Specifically,  I will be using an ODBC connection to the Sage 50 database, and will be working in C# (Visual C#).  I will only be reading information, so I will not be changing or writing information back to the Sage 50 database.

Thanks