Created
July 31, 2013 19:00
-
-
Save douglasjarquin/6125040 to your computer and use it in GitHub Desktop.
List offending HelpSpot filters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select sFilterName, sFname, sLname, sEmail from HS_Filters inner join HS_Person hsp on hsp.`xPerson` = HS_Filters.`xPerson` where `HS_Filters`.`xFilter` in (select xFilter from HS_Filter_Performance where dTime > 99) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Delete slowest filters
delete from HS_Filters where XFilter in (select xFilter from HS_Filters inner join HS_Person hsp on hsp.
xPerson= HS_Filters.
xPersonwhere
HS_Filters.
xFilterin (select xFilter from HS_Filter_Performance where dTime > 99))