SQL - כתיבת שאילתות למתחילים

Slides:



Advertisements
Similar presentations
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Advertisements

Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Murach's MySQL, C1© 2012, Mike Murach & Associates, Inc.Slide 1.
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
NoSQL and NewSQL Justin DeBrabant CIS Advanced Systems - Fall 2013.
Chapter 04 How to retrieve data in a single table MIT 22033, Database Management System By: S. Sabraz Nawaz.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
Nichelle K. Norris IS 373: World Wide Web Standards.
Ling Guo Feb 15, 2010 Database(RDBMS) Software Review Oracle RDBMS (Oracle Cooperation) 4()6 Oracle 10g Express version DB2 (IBM) IBM DB2 Express-C SQL.
PHP Data Object (PDO) Khaled Al-Sham’aa. What is PDO? PDO is a PHP extension to formalise PHP's database connections by creating a uniform interface.
What is SQL and Who uses it? Presented by: John Deardurff Global McOWL Internal Sales Training October 24, 2014.
Presentation Handout EDBA – Module 8 Information Technology 21 st December 2014 By K.M.Prashanthan.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
Web Services Week 8 Aims: –Using web services as front ends to databases Objectives: –Review of relational databases –Connecting to and querying databases.
Modern Databases NoSQL and NewSQL Willem Visser RW334.
+ Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server = Querying Microsoft SQL.
NoSQL Not Only SQL Edel Sherratt. What is NoSQL? Not Only SQL Large volumes of data No schema Partition tolerance – scale by adding more commodity servers.
Windows Azure Conference 2014 Polyglot Persistence: NoSQL + Azure!
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 1: Organisation and Overview.
Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
FEN  Data Definition: CREATE TABLE, ALTER TABLE  Data Manipulation: INSERT, UPDATE, DELETE  Queries: SELECT SQL: Structured Query Language.
MySQL Database Connection
1 Why Learn About Database Systems? Database systems process and organize large amounts of data Examples –Marketing manager can access customer data –Corporate.
Information Building and Retrieval Using MySQL Track 3 : Basic Course in Database.
1 DBS201: Introduction to Structure Query Language (SQL) Lecture 1.
CHAPTER 6: INTRODUCTION TO SQL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
UNIVERSITAS MUHAMMADIYAH SURAKARTA DATABASE MANAGEMENT SYSTEM - INTRODUCTION.
PHP Workshop ‹#› PHP Data Object (PDO). PHP Workshop ‹#› What is PDO? PDO is a PHP extension to formalise PHP's database connections by creating a uniform.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
PHP Workshop ‹#› أطلق إبداعك 2 أطلق إبداعك 2 مدرس معتمد من مركز زووم PHP Data Object (PDO)
Web Development Technologies Advanced Web-based Systems Advanced Web-based Systems | Misbhauddin.
1 Welcome to the World of Databases! Database technology: crucial to the operation and management of modern organisations Major transformation in computing.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Create Views Using a Graphical Designer Database Administration Fundamentals LESSON 2.3b.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 6: INTRODUCTION.
Big Data Yuan Xue CS 292 Special topics on.
How To Start a SQL server Connecting to SQL Server.
Dive into NoSQL with Azure Niels Naglé Hylke Peek.
SQL vs NoSQL Database BY: DEEPENDRA CHAUDHARY. Abstract This presentation reviews the features common to the NoSQL database and compares those features.
DBM 380 Week 2 Individual Assignment Database Design Paper Write a 350- to 700-word paper in which you do the following: Explain what database systems.
DBM 384 Week 2 DQ 1 Check this A+ tutorial guideline at 384/DBM-384-Week-2-DQ-1 Explain how Structured Query Language.
Fundamental of Database Systems
Aga Private computer Institute Prepared by: Srwa Mohammad
Module T03d Software Engineering
Amazon Web Services RDS with SQL Server
آشنایی با نرم افزار Microsoft Access
Advanced Accounting Information Systems
Bridging SQL and NoSQL Rupal Dhillon U
CS311 Database Management system
LiNQ SQL Saturday David Fekke.
Azure Cosmos DB Venitta J Microsoft Connect /6/2018 4:36 PM
Modern Databases NoSQL and NewSQL
Principles of Software Development
Selecting the right database for your semantic storage needs
Russ Thomas Director, Information Services, TSYS
NOSQL and CAP Theorem.
11/18/2018 2:14 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Database.
PHP and MySQL.
Structured Query Language
SQL Queries Chapter No 3.
RealStudio and Cloud Databases
PostgreSQL as a Document Storage for .NET applications
Database SQL.
Working with GEOLocation Data
build a real time operational data lake in minutes.
Presentation transcript:

SQL - כתיבת שאילתות למתחילים ברוכים הבאים!

על הקורס המטרה: ללמוד לכתוב שאילתות SQL לשליפת מידע. האמצעי: ידע נדרש: הרצאות וידאו (ב- YouTube) תרגילים שתעשו על המחשב שלכם פתב"סים מהם אפשר ללמוד ולהתפתח (ועבור חלקם גם הרצאות מוקלטות מלוות) ידע נדרש: מה זה מסד נתונים © שחר גבירץ Shahar@IShahar.net http://ishahar.net

על הקורס כל הרצאה מורכבת מסרטון (כמו זה) שמסביר את הנושא ונותן דוגמאות לכל הרצאה יש עמוד באתר הקורס [לינק למטה] שכולל את הוידאו של ההרצאה, לינקים לדברים רלוונטיים והפניות למידע נוסף בנוסף, עמוד ההרצאה כולל את התרגול הרלוונטי והפנייה לפתב"ס © שחר גבירץ Shahar@IShahar.net http://ishahar.net

על מה נדבר בהרצאה הזאת? הרצאת מבוא זריזה מבוא למסדי נתונים מבוא ל-SQL (מה שאומר שייזרקו בה גם הרבה מאד מונחים שלא יוסברו כ"כ לעומק) מבוא למסדי נתונים מבוא ל-SQL © שחר גבירץ Shahar@IShahar.net http://ishahar.net

מה זה בכלל מסד נתונים? אנחנו חיים בעולם של מידע המידע הזה נשמר במסדי נתונים (Database-ים) שונים אפליקציות ומשתמשים יכולים לתשאל את המידע במסד הנתונים, לתשאל אותו ולעדכן אותו © שחר גבירץ Shahar@IShahar.net http://ishahar.net

"משפחות" של מסדי נתונים קיימים מסדי נתונים מסוגים שונים, העונים על צרכים שונים. בכל אחת מהמשפחות הללו של מסדי הנתונים קיימים מוצרים שונים, של חברות שונות, בעלי יכולות שונות למשל: DocumentDB – MongoDB, RavenDB, DynamoDB Key-Value DB’s: Redis, Memcached עם דגש על אינדוקס טקסטואלי: Solr, ElasticSearch Graph DB’s – Neo4J רלציוניים – SQL Server, MySQL, PostgreSQL שילובים מסוגים שונים זה דבר נפוץ מאד © שחר גבירץ Shahar@IShahar.net http://ishahar.net

מסדי נתונים רלציוניים (Relational) מסדי נתונים ש-"ירשו" את צורת העבודה שלהם מהמודל הרלציוני כלומר, קבוצות של "n-יות סדורות" המאוגדות בתוך "יחסים" בתיאור פחות פורמלי (והרבה יותר מובן): המידע מאוגד בתוך טבלאות, המקיימים בינהם קשרי גומלין טבלה מורכבת מעמודות, כל שורה מכילה ערך עבור כל עמודה (ההצלבה של שורה ועמודה היא "תא") העמודה מתארת את המהות של הערך והסוג שלו קיימים קשרי גומלין בין טבלאות שונות © שחר גבירץ Shahar@IShahar.net http://ishahar.net

SQL! Structured Query Language – שפה המשמשת במסדי נתונים רלציוניים (ולא רק...) תשאול המידע וביצוע פעולות עליו (הוספה/עריכה/מחיקה) – Data Manipulation Language הגדרת הסכימה של הנתונים במסד הנתונים (יצירת טבלאות, הוספת עמודות, יצירת ישויות אחרות ב-DB): Data Definition Language פעולות הקשורות לניהול שרת ה-DB (הוספת משתמשים, הגדרות וכו') מתבצעות גם במסדי נתונים שונים ע"י "חשיפת" ההגדרות הללו בממשקים שמאפשרים לעשות אותם עם SQL Statements © שחר גבירץ Shahar@IShahar.net http://ishahar.net

SQL התקן המגדיר איך מתנהגת SQL נקרא ANSI SQL עם זאת, כמעט כל מנוע DB משתמש בווריאציה משלו על התקן, ולא מאמץ את התקן as-is. בין הדברים שמתווספים: תמיכה בפיצ'רים שונים שחושף המנוע DB הספיציפי (SQL Server/MySQL/Oracle) תמיכה בפיצ'רים סמי-תכנותיים שלא כלולים בתקן © שחר גבירץ Shahar@IShahar.net http://ishahar.net

על מה אנחנו נדבר? אנחנו נעבוד עם Microsoft SQL Server 2016 ניתן להוריד גרסא חינמית שתומכת בכל הפיצ'רים אך מגבילה את כמות הזיכרון וגודל מסד הנתונים שבו ניתן להשתמש ניתן להוריד Developer Edition שמוצע ללא כל מגבלות, למטרות פיתוח בלבד. לטובת התרגילים וההדגמות נתבסס על מסד הנתונים של StackOverflow © שחר גבירץ Shahar@IShahar.net http://ishahar.net

SQL – כתיבת שאליתות למתחילים שחר גבירץ shahar@IShahar.net http://ishahar.net