Bases de données

153 documents à télécharger gratuitement

Cours, examens, TD, TP et exercices de bases de données. Thèmes couverts : SQL, MySQL, Oracle, modèle relationnel, SGBD, MERISE.

Correction de l'activité 3.1 – Bases de données Avancées

This document provides a corrected solution to Activity 3.1 within the Advanced Databases course for a Master's program in open-source software. It defines hierarchical database object types using SQL, creating and extending objects like classrooms and teaching assignments. Primary keys, constraints, triggers, and object references are implemented to ensure data integrity and relationship consistency. Additionally, various SQL queries demonstrate data retrieval, type filtering, and the use of object-oriented database features like inheritance and object references.

Advanced databases
SQL CREATE TYPE
Object-oriented databases
4p0
Advanced Databases - Activity 3.1

This document outlines the implementation of a UML conceptual schema for managing room scheduling at an institution using SQL3 object-oriented features. It provides definitions for classes, associative materializations, and object tables for data storage. Additional requirements include referential integrity, custom triggers for primary key constraints, and object-oriented queries addressing room planning and teaching requirements. The computational methods leverage advanced database functionalities such as object references, inheritance, and specific SQL3 features like TREAT() and IS OF().

UML conceptual schema
SQL3
object-oriented SQL
2p0
Module 3: Les Bases de Données Objet-Relationnelle

This document explores object-relational databases, an extension of the relational model incorporating object-oriented concepts like abstraction, inheritance, and methods. It covers the advantages, including data encapsulation and SQL3 extensions, while also addressing limitations like the lack of a unified theoretical model and challenges of backward migration. Examples of object creation, inheritance, and references are presented, alongside discussions on implementation aspects like persistence, object storage, and referential integrity management. The document concludes with advanced top...

object-relational databases
SQL3
inheritance
18p0
Bases de données Avancées

This document introduces a relational schema with six key entities: IMMEUBLE, APPARTEMENT, PERSONNE, ÉCOLE, CLASSE, and ENFANT. It provides details on their relationships and attributes, including primary keys and functionality. The document poses intricate SQL queries designed to retrieve and manipulate data within the schema, touching on scenarios such as filtering by construction date, occupant details, property ownership, empty apartments, and hierarchical relationships. The practical exercises aim to enhance comprehension of relational database design and SQL implementation.

relational schema
SQL
advanced databases
1p0
Advanced Database Activity 2.1

This document outlines a practical exercise in advanced database schemas and SQL query operations within an Oracle SQL+ environment. It begins with the creation of database tables with appropriate primary and foreign key specifications based on given data, followed by a series of SQL queries addressing data ordering, filtering, aggregation, and modification tasks. The exercise delves into analyzing medication costs, disease treatment associations, and performing operations like price adjustments and record eliminations. These tasks aim to strengthen understanding of relational database desi...

SQL
Oracle SQL+
relational schemas
1p0
Advanced Databases - Activity 2.1

This document provides an SQL-focused assignment for 1st-year MP2L students at ISI, centered on analyzing medicine data schemas and relationships. It requires creating tables with defined primary and foreign keys, writing SQL queries to extract insights from data, and performing specified database operations like price adjustments and filtering. The assignment highlights practical applications in database management and Oracle SQL+ syntax for advanced querying and manipulation.

SQL
Primary Key
Foreign Key
2p0
Bases de données Avancées: Guide d'installation et d'utilisation d'Oracle 11g XE

This document outlines the installation process of Oracle Database 11g Express Edition (XE), a lightweight and beginner-friendly database version, and provides insights into its key functionalities. Detailed instructions are given for setting up the software, using its system command menus, accessing the database homepage, and creating and managing database users. Additionally, step-by-step examples, such as creating a user, assigning privileges, and unlocking sample databases like HR, are included to enhance database use and management efficiency. The document serves as an introductory gui...

Oracle Database 11g XE
SQL*Plus
Database Management
4p0
Le langage de définition des données (LDD) de SQL

This document provides a structured guide on defining, creating, and manipulating data tables in SQL. It describes the creation of tables, emphasizing constraints such as integrity and domain restrictions and detailing operations like altering and deleting structures. A methodology for naming constraints is offered for clarity and consistency. Practical SQL examples include temporary tables, composite keys, and constraint-based validation checks for ensuring data reliability and adherence to rules.

SQL
CREATE TABLE
PRIMARY KEY
Institut Supérieur d'Informatique17p0
Module 1: Les Bases de Données Relationnelles

This document covers an in-depth exploration of relational database concepts. It elaborates on translating Entity-Relationship (ER) schemas into relational schemas, defining domains and constraints, and the application of rules for modeling relationships (e.g., binary, ternary). Examples present complex database schemas and their translations into relational tables, including key considerations like referential integrity and optimizing performance through minimizing table join operations. Core methodologies highlight the flexibility and precision of relational models in data representation...

relational schema
E.F. Codd
ER-to-relational transformation
18p0
Module 1 : Les bases de données relationnelles

This document serves as an educational guide introducing relational databases, including the Entity-Relationship (ER) model and its essential concepts. It focuses on defining entities and their attributes, relationships and associations, cardinalities, and advanced concepts like the Extended Entity-Relationship (EER) model. The material includes practical examples, methodologies for schema design, and critical considerations for avoiding design errors. Additionally, evaluation metrics such as expressivity, minimality, and simplicity are discussed for optimizing ER/EER models.

Entity-Relationship model
cardinalities
Merise method
32p0
introduction aux bases de données

Academic document imported into UniversityLib: introduction aux bases de données.

Informatique
lecture
donn
1p0
Database Operations Examples

This document provides examples of PL/SQL code for various database operations, including deleting departments, updating employee salaries, and retrieving employee data. It also demonstrates the use of cursors and exception handling in SQL. Various operations are illustrated through specific use cases within a sample database.

deptno
cursor
loop
1p0
sqlmap Overview

sqlmap is an open-source penetration testing tool designed to automate SQL injection detection and exploitation, facilitating easier database server takeover. It features a robust detection engine, supports various databases, and offers a range of techniques for data extraction. The tool allows users to escalate privileges, dump databases, and execute custom SQL queries efficiently.

sqlmap
database
dbms
20p0
PostgreSQL® Notes for Professionals - Télécharger Cours PostgreSQL PDF gratuitement

Section 1. 1: Installing PostgreSQL on Windows While it's good practice to use a Unix based operating system (ex. Linux or BSD) as a production server you can easily install PostgreSQL on Windows (hopefully only as a development server).

Informatique
course
postgresql
1p0
MongoDB® Notes for Professionals - Télécharger Cours mongo db gratuitement

Chapter 1: Getting started with MongoDB Section 1. 1: Execution of a JavaScript file in MongoDB . /mongo localhost:27017/mydb myjsfile. js Explanation: This operation executes the myjsfile.

General
exam
mongodb
1p0
Implementing Control Flow in an SSIS Package

This document describes the implementation of an ETL control flow within an SSIS package for the Adventure Works Cycles workflow. The lab involves creating a control flow to notify operators of success or failure during data extraction and loading. The report details tasks such as configuring email alerts, using variables and parameters for dynamic file paths, and encapsulating operations in sequence containers to streamline workflows. Key findings include successful implementation of dynamic file handling and notification processes within the ETL pipeline.

ETL process
control flow
variables and parameters
10p0
Implementing Control Flow in an SSIS Package

This document outlines the key principles of implementing control flow in SSIS packages. It introduces control flow tasks, constraints, and methodologies for grouping tasks, using multiple packages, and maintaining workflow consistency. Crucial concepts such as variables, parameters, containers, and expressions are detailed to enable dynamic SSIS package generation. Additionally, techniques for managing failure, using transactions, and implementing checkpoints for reliable workflows are provided, alongside lab scenarios for practical application.

Control Flow
Precedence Constraints
Sequences and Containers
24p0
Creating an ETL Solution with SSIS

This lab focuses on creating an ETL solution using SQL Server Integration Services (SSIS) to extract customer and sales order data from the InternetSales database. You will implement a data flow that calculates the sales total for each order line item by looking up product details in the Products database. By the end of this lab, participants will have hands-on experience profiling source data and utilizing transformations in a data flow.

data
click
then
9p0
Chapitre V : Bases de données NOSQL

This document provides an in-depth comparison of traditional relational database systems (RDBMS) and NoSQL databases. It discusses strengths of RDBMS such as complex querying capabilities and ACID compliance but highlights their limitations with scaling and handling semi-structured data. NoSQL databases are categorized into key-value, column-oriented, document-oriented, and graph-based models, focusing on scalability, distributive architecture, and performance over ACID properties. Specific examples like Cassandra, MongoDB, Neo4J, and others illustrate their architectures, replication mecha...

ACID properties
BASE properties
CAP theorem
99p0
Choosing Your Database

The document outlines various types of databases for different applications, examining their design considerations, scalability, and performance trade-offs. Concepts such as the CAP theorem are explored along with examples like MongoDB, HBase, Cassandra, and MySQL, highlighting their architectures, features, and integration with tools like Spark and Hadoop. Sample use cases for databases are provided, focusing on requirements like availability, consistency, partition tolerance, and operational considerations with sharding and replication.

CAP theorem
Denormalization
BigTable
61p0
CHOOSING YOUR DATABASE

This document discusses the considerations involved in choosing the right database, focusing on various NoSQL options such as HBase, Cassandra, and MongoDB. It highlights factors like scaling requirements, support, budget, and the CAP theorem aspects of availability, consistency, and partition tolerance. Practical examples illustrate when to select different database systems based on specific needs and scalability requirements.

node
your
data
61p0
Introduction au langage SQL

This document provides an introduction to SQL, detailing its structure, including DDL, DML, DQL, and DCL. It explains the various data types available, such as alphanumeric, numeric, and temporal types. Additionally, it covers DDL commands, with a focus on the CREATE command and its constraints.

select
from
table
70p0
Introduction to Data Warehousing

This course provides an overview of data warehousing concepts and practices. It covers key business problems, data warehouse architectures, and essential project roles. Students will also learn about SQL Server as a platform for data warehousing.

data
warehousing
warehouse
17p0
Implementing Data Warehouse with MS SQL Server

This course provides comprehensive training on designing and implementing a data warehouse using Microsoft SQL Server 2014. It covers ETL solutions utilizing SQL Server Integration Services (SSIS) for data flow and control flow, along with techniques for debugging and troubleshooting. Students learn to validate and cleanse data with SQL Server Data Quality Services and Master Data Services. The course prepares database professionals to support business intelligence solutions by creating and maintaining data warehouses.

Data Warehousing
ETL
Microsoft SQL Server 2014
2p0

Autres ressources en bases de données