PriceList for specified Customer in AXAPTA

Please, Help Me !!! [?] I have: - Axapta 3.0. - Items with [Sales order price, Product group disc., Campaign price] - Item disc. groups - Customers with [Product group disc., Price group, Trade agreements und so on…] How can i create SQL query and get Price list for specified customer? How to connect tables and calculate right price for customer? For example: SELECT InventTable.ItemId, InventTableModule.Price, … FROM … WHERE CustTable.AccountNum=14310