Question: 1 4 rows in set ( 0 . 0 7 0 s e c ) MariaDB [ baseball _ stats ] > LOAD DATA INFILE

14 rows in set (0.070sec)
MariaDB [baseball_stats]> LOAD DATA INFILE 'path_to_php-practice/Chapter .07/Projects/tean_stats.txt'
INTO TABLE teamstats;
ERROR 29(HYOOO): File 'C: |xampplmysql|datalpath_to_php-practice|Chapter . O7 NProjectslteam_stats.txt' not found (Errcode: 2"No such file or dire ctory")
MariaDB [baseball_stats]> LOAD DATA INFILE 'path_to_PHP_folders/Chapter.07/Projects/team_stats.txt'
INTO TABLE teamstats;
ERROR 29(HYOO0): File 'C: |xampp|mysql|datalpath_to_PHP_folders|Chapter. o7 Projects/tean_stats, txt' not found (Errcode: 2"No such file or direc tory")
MariaDB [baseball_stats]> LOAD DATA INFILE 'E:/xampp/mysql/data/Chapter.07/Projects/tean_stats, txt'
INTO TABLE teamstats;
ERROR 29(HYOOO): File 'E: |xampp|mysql|datalChapter.07 NProjects |tean_sta ts.txt' not found (Exrcode: 2"Wo such file or directory")
MariaDB [baseball_stats]> LOAD DATA INFILE 'E:/xampp/mysql/data//Chapter.
07/Projects/tean_stats, txt'
7. Enter a LOAD DATA statement that inserts records from the team_stats.txt file in your Projects directory for Chapter 7 into the teamstats table. Replace path_to_PHP_folders with the full path for your PHP_Projects directory for Chapter 7.
mysql> LOAD DATA INFILE 'path_to_PHP_folders/ Chapter.07/Projects/team_stats.txt'[ENTER INT0 TABLE teamstats; [ENTER harr ]
8. After you see the "Query OK" message, enter the following command to view all the records in the teams tats table:
mysq 7> SELECT * FROM teamstats; [ENTER darr
Exercise 7-2
In this project, you will write SQL statements that return team names, games played, and number of at-bats from the teamstats table in the baseba17_stats database. You will also write SQL statemonte that roturn tho tonme that have tho lanct and most all time
1 4 rows in set ( 0 . 0 7 0 s e c ) MariaDB [

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!