pbride.sql