Code Samples (apologies for inevitably weird formatting, let me know and I can try to send you some better files…) SQL Report: SELECT CONCAT( '
',title,'


',IF( isbn IS NULL, '', CONCAT( '
')),'