add sql window sample