Files
sql_advanced/lab2-8-test/task2.sql
T
Vitalii Litvinchuk 6deed0469a first commit
2026-05-04 23:15:09 +03:00

12 lines
656 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#################################################
################ Завдання 2 ###################
--------------------------------------------------
1. Використайте дані
https://docs.google.com/spreadsheets/d/16I5INlUTo0jZ2ZyWQuBbgUkrWy5NeQtl?rtpof=true&authuser=yuriy.kotsyuk%40oa.edu.ua&usp=drive_fs
для здійснення імпорту у табицію Courses.
2. Перегляньте вміст таблиці
LOAD DATA INFILE '/var/lib/mysql-files/courses.csv' INTO
TABLE Courses FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' ignore 1 lines (CourseName, Cost, @dummy);
select * from Courses;