Dodatak webinaru o SQL-u

Slides:



Advertisements
Similar presentations
A) 80 b) 53 c) 13 d) x 2 = : 10 = 3, x 3 = 309.
Advertisements

Cs3431 Constraints Sections 6.1 – 6.5. cs3431 Example CREATE TABLE Student ( sNum int, sName varchar (20), prof int, CONSTRAINT pk PRIMARY KEY (snum),
Relational Database. Converting Model to target implementation QSEE will produce 3 types of schema –XML document DTD XML schema –SQL Relational Database.
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
SQL Keys and Constraints Justin Maksim. Key Declaration Key constraint defined within the CREATE TABLE command Key can be declared using either the PRIMARY.
SQL DDL constraints Restrictions on the columns and tables 1SQL DDL Constraints.
Using ER/Studio.
Database Systems Lecture 5 Natasha Alechina
DBMS 3. course. Reminder Data independence: logical and physical Concurrent processing – Transaction – Deadlock – Rollback – Logging ER Diagrams.
 SQL stands for Structured Query Language.  SQL lets you access and manipulate databases.  SQL is an ANSI (American National Standards Institute) standard.
CS450 HW2Page 1 Homework #2  Due the midnight of April 15th.  100 Points  In this homework, you create an SQL script to build the MOVIES database according.
SQL Data Definition (CB Chapter 6) CPSC 356 Database Ellen Walker Hiram College (Includes figures from Database Systems by Connolly & Begg, © Addison Wesley.
Database Technical Session By: Prof. Adarsh Patel.
COURSE: DATABASES Prof.dr Leonid Stoimenov, mr Aleksandar Stanimirović, dipl.ing Miloš Bogdanović Project IB_JEP (RS) University of Niš Faculty.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
Results of BTeV Database Workshop Please see : DBMS and TOOls Comparison talk by Pavel Semenov Possible Database Categories from first Survey by Joel Butler.
FEN  Data Definition: CREATE TABLE, ALTER TABLE  Data Manipulation: INSERT, UPDATE, DELETE  Queries: SELECT SQL: Structured Query Language.
SQL Basics. 5/27/2016Chapter 32 of 19 Naming SQL commands are NOT case sensitive SQL commands are NOT case sensitive But user identifier names ARE case.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
Intro to SQL| MIS 2502  Spacing not relevant › BUT… no spaces in an attribute name or table name  Oracle commands keywords, table names, and attribute.
11-1 Copyright  Oracle Corporation, All rights reserved. What Are Constraints? Constraints enforce rules at the table level. Constraints prevent.
1 SQL - II Data Constraints –Applying data constraints Types of data constraints –I/O constraints The PRIMARY KEY constraints The FOREIGN KEY constraints.
SQL Structured Query Language. Aims  To introduce the implementation of a Physical design using SQL.  To introduce SQL Data Definition Language (DDL).
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
An Introduction to SQL For CS Overview of SQL  It is the standard language for relational systems, although imperfect  Supports data definition.
CMPT 258 Database Systems Midterm Review. Regarding the Exam Oct 15 Thursday Close book Cheat sheet (1 side of an A4 paper)
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
UNIVERSITAS BINA DARMA 2013 DATA DEFINITION LANGUAGE (DDL)
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Physical Model Lecture 11. Physical Data Model The last step is the physical design phase, In this phase data is – Store – Organized and – Access.
 MySQL  DDL ◦ Create ◦ Alter  DML ◦ Insert ◦ Select ◦ Update ◦ Delete  DDL(again) ◦ Drop ◦ Truncate.
Introduction to Databases & SQL Ahmet Sacan. What you’ll need Firefox, SQLite plugin Mirdb and Targetscan databases.
MS SQL Create Table Cust USE jxc00 GO CREATE TABLE cust ( cust_id smallint IDENTITY(1,1) NOT NULL, cust_name char(10)
Android aplikacija i baze podataka
Practical SQL for SlickPic Testing
CS311 Database Management system
MySQL Explain examples
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
Structured Query Language (SQL) William Klingelsmith
Structured Query Language (Data definition Language)
Pristup podacima Uvod Nikola Vlahović.
Java programiranje sa bazama podataka
Pojam DBMS. Relacione baze podataka
Microsoft Office 2007 MS Office je programski paket koji sadrži više programa: MS Word – program za obradu teksta MS Excel – program za izradu tabela sa.
Workbench Data Definition Language (DDL)
1 NetApp Snapcreator Matej Moškon.
RELACIONE BAZE PODATAKA
APLIKATIVNI SOFTVER Za razliku od sistemskog softvera čiji je osnovni zadatak usmeravanje, nadgledanje i podržavanje rada računarskog sistema, aplikativni.
Teaching slides Chapter 8.
Elektrotehnički fakultet – Podgorica Operativni sistemi
SQL. SQL SQL Structured Query Language (SQL) predstavlja programski jezik koji je projektovan za potrebe pretraživanja i upravljanja podacima u sistemima.
For student, require values for name and address.
Kartica Insert.
INFORMACIONE TEHNOLOGIJE U STUDIJSKOM PROGRAMU MERENJE I REGULACIJA: WEB BAZIRANI MERNO-AKVIZICIONI SISTEMI.
OSNOVNO O BAZAMA PODATAKA
نرم افزار گزارش ساز کارنیک
Networking u Windows-u 2000 i Windows-u XP
PROGRAMSKI JEZIK PASCAL
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
ELEKTRONIČKA POŠTA ( ) OTVARANJE RAČUNA.
Rob Gleasure robgleasure.com
Data Definition Language
7. Baze podataka Postavke MS Accessa.
SQL: Structured Query Language
Instructor: Samia arshad
កម្មវិធីបង្រៀន SQL Programming ជាភាសាខ្មែរ Online SQL Training Course
SQLDeveloper Data Modeler - Logical Model
កម្មវិធីបង្រៀន SQL Programming ជាភាសាខ្មែរ Online SQL Training Course
SQL NOT NULL Constraint
SQL (Structured Query Language)
Presentation transcript:

Dodatak webinaru o SQL-u 13.10.2015. godine Miljan G. Jeremić, prof.

Baza podataka - Biblioteka Ovde želimo da pokažemo mogućnost programa za kreiranje ER modela (dijagrama) baze podataka “Biblioteka” rađenog u programu SharpEER i koji uz kreirani ER dijagram kreiran i relacioni dijagram i DDL instrukcije za kreiranje tabela za MySQL bazu podataka.

Baza podataka - Biblioteka

Entitet-Radnik

Entitet-Knjiga

Entitet-Čitaoc

Entitet-Časopis

Slabi tip entiteta-Rad

Veze

Relacioni dijagram - Biblioteka

DDL instrukcije - Biblioteka CREATE TABLE CASOPIS( IzdavacC varchar(15), KatBrCasop varchar(15), BrojSvezaka varchar(15), DatPretp varchar(15), ZenIzdav varchar(15), ISBNCas varchar(15), NaslovCas varchar(15), KlasifikacijaC varchar(15), MatBro varchar(15) );   ALTER TABLE CASOPIS ADD PRIMARY KEY(KatBrCasop); ALTER TABLE CASOPIS ADD CONSTRAINT MatBro_FK FOREIGN KEY(MatBro) REFERENCES CITAOC(MatBro); CREATE TABLE CITAOC( Grad varchar(15), AdresaC varchar(15), BrKarte varchar(15), MatBro varchar(15), LImeC varchar(15), SSlovoC varchar(15), PrezimeC varchar(15) );   ALTER TABLE CITAOC ADD PRIMARY KEY(MatBro); ...

Linkovi Ekonomski fakultet u Nišu, online vežbanje upita preko ORACLE Express sistema na Web-u: http://dualpiii.eknfak.ni.ac.rs:8080/apex/f?p=4550:11:3887440157444690::NO: Online aplikacija za vežbanje SQL jezika: http://www.w3schools.com/sql/default.asp ORACLE Academy

Informacije Sve informacije o ovom webinaru moći ćete naći na blog sajtu: http://midusware.wordpress.com Prezentacije, projekat, program SharpEER