Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ewis:laboratoare:05 [2023/04/05 16:00]
alexandru.predescu [Data Manipulation Language (DML)]
ewis:laboratoare:05 [2023/04/05 16:10] (current)
alexandru.predescu
Line 47: Line 47:
   * Relationships can exist between tables such as: //​one-to-one//,​ //​one-to-many//,​ //​many-to-many//​ and //​self-referencing//​.   * Relationships can exist between tables such as: //​one-to-one//,​ //​one-to-many//,​ //​many-to-many//​ and //​self-referencing//​.
    
-{{:​ewis:​laboratoare:​table_data_draw.png?​600|Table Data}}+{{:​ewis:​laboratoare:​table_data_draw.png?​500|Table Data}}
  
 {{:​ewis:​laboratoare:​table_definition_draw.png?​600|Table Definition}} {{:​ewis:​laboratoare:​table_definition_draw.png?​600|Table Definition}}
Line 440: Line 440:
 ** T0 (1p)** ​ Evaluate the example database (case study) and describe the relationships between the following tables: albums, songs, artists, categories. ** T0 (1p)** ​ Evaluate the example database (case study) and describe the relationships between the following tables: albums, songs, artists, categories.
  
-** T1 (5p)** ​ Create the example database in MySQL Workbench. See {{:​ewis:​laboratoare:​setup.pdf|MySQL Local Setup Tutorial}} for installing MySQL on your computer and {{:​ewis:​laboratoare:​workbench.pdf|MySQL Workbench Tutorial}} for working with MySQL Workbench and creating the example database (//​company//​ database). Take a screenshot to validate this step.+** T1 (5p)** ​ Create the example database in MySQL Workbench. See {{:​ewis:​laboratoare:​setup.pdf|MySQL Local Setup Tutorial}} for installing MySQL on your computer and {{:​ewis:​laboratoare:​workbench.pdf|MySQL Workbench Tutorial}} for working with MySQL Workbench and creating the example database (//​company//​ database). You can check the example presented in the DDL - CREATE TABLE section. Take a screenshot to validate this step.
  
 ** T2 (2p)** Run the SQL script ({{:​ewis:​laboratoare:​company_db.txt|Company Database File}}) to add data into the database. Take a screenshot to validate this step. ** T2 (2p)** Run the SQL script ({{:​ewis:​laboratoare:​company_db.txt|Company Database File}}) to add data into the database. Take a screenshot to validate this step.
Line 446: Line 446:
 ** T3 (2p)** Run 5 of the SQL queries (your choice) from the {{:​ewis:​laboratoare:​workbench.pdf|MySQL Workbench Tutorial}} (as shown below) and save the results for each query as screenshots or CSV files. ** T3 (2p)** Run 5 of the SQL queries (your choice) from the {{:​ewis:​laboratoare:​workbench.pdf|MySQL Workbench Tutorial}} (as shown below) and save the results for each query as screenshots or CSV files.
  
-<​spoiler ​click to view>+<​spoiler ​Click to view>
  
 <code sql> <code sql>
ewis/laboratoare/05.1680699614.txt.gz ยท Last modified: 2023/04/05 16:00 by alexandru.predescu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0