I want to display records from the two table in list view one is my custom module table and one more table which is link to custom table.how do i achive this using logic hook, how do i write the code i.e how do i fetch records from the table and display that records in list view....

Please provide the code...