Changed SQL script to reflect the actual table layout. Added a search button to each page.