Accessing MySQL Database and Querying GNP