Make a SQL script for fetching matches from MB.