Lab 4 Analyze and Visualize Relational #Database data in #Python
Objectives:
• To learn how to use Python codes to execute SQL statements
Data:
• The database you created from lab2.
Requirements:
• Design your Python codes to accomplish those tasks:
1. Display all the records in the student table.
2. Display the teachers' names and the corresponding course names jointly based on the teacher's email.
3. Use a bar chart to show the number of enrolled students by each course number.
4. Use a bar chart to show the number of courses taught by each professor's name.
5. A new professor just joined JMU and will teach a new course. Add a new record of the new professor in the teacher table, and the corresponding new course record in the course table. You can make up the professor's info and the new course info. Display the modified professor table and the course table.
6. An existing professor will retire soon, and the newly hired professor will teach his/her courses. Delete one of the existing professors in the teacher table and change the instructor of his/her classes in the course table to the newly hired professor. Display the modified professor table and the course table.
Demo code: https://github.com/xbwei
More about databases: https://www.youtube.com/playlist?list=PLHutrxqbP1ByGhrCv0tZADlIQxwHEbhdL
A more concise tutorial: https://www.youtube.com/playlist?list=PLHutrxqbP1BxK4KzYL8tJmMhV2yhGZNlY
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Lab 4 Analyze and Visualize Relational #Database data in #Python», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.