More Documentation for Account Receipt & Statements

Start from here.

http://sambapos.com/wiki/doku.php/creating_custom_reports_with_sql

Try this

 Select * from Tickets

Learn how SQL Where works to filter records.

Select * from Tickets where IsClosed = 0 

Learn how to use field names instead of *

Select Id,TicketNumber from Tickets where IsClosed = 0 

Check how SQL Like keyword works to make partial searches.

Check how SQL Join works to create reports from two tables.

Check this topic for related discussions and samples.

2 Likes