SQL to display info about frames on admin_inventory.php