I'm sure there is an easier way but I just create the tables manually since I know the data types will be correct. I save the scripts so I can easily re-create the tables if needed. Here's a script for Bref's standard batting (change the file paths obv)/*step 0: the lahman database is probably a much better choice foranalyzing these stats with sqlstep 1: choose standard batting stats for the player of your choicestep 2: click on the 'csv' hyperlink to render as comma separatedtextstep 3: copy the csv formatted text to the text editor of yourchoice and save the file as batStand_aaronha01_career.csvreplacing aaronha01 with the player id (found in the url) and ifnecessary change career to a date range (no spaces)step 4: open this .sql file and then find/replace aaronha01 withthe appropriate player_id and if necessary find/replace careerwith the appropriate date rangestep 5: navigate to the appropriate database and run the script!*/-- creates tabledrop table if exists batStand_aaronha01_career;create table batStand_aaronha01_career(`Year` varchar(4),Age int(2),Tm char(3),Lg char(3),G int(3),PA int(3),AB int(3),R int(3),H int(3),2B int(3),3B int(3),HR int(3),RBI int(3),SB int(3),CS int(3),BB int(3),SO int(3),BA float(4),OBP float,SLG float,OPS float,`OPS+` int(3),TB int(3),GDP int(3),HBP int(3),SH int(3),SF int(3),IBB int(3),POS varchar(20),Awards varchar(40));-- loads csv file's data into the table created aboveload data infile '/_dev/bbdb/data/batStand_aaronha01_career.csv'into table batStand_aaronha01_careerfields terminated by ','lines terminated by '\n';-- adds the player-id useful for joining tablesalter table batStand_aaronha01_careeradd player_id varchar(10) first;update batStand_aaronha01_career SET player_id = 'aaronha01';-- uncomment line below if you wnat to see the data-- select * from batStand_aaronha01_career;