name the tv show whose opening theme is gary portnoy and the subsequent work is frasier ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_openingTheme dbr_Gary_Portnoy sep_dot var_uri dbo_subsequentWork dbr_Frasier sep_dot var_uri a dbo_TelevisionShow brack_close