Column-Family Stores: Cassandra

Size: px
Start display at page:

Download "Column-Family Stores: Cassandra"

Transcription

1 NDBI040: Big Data Management and NoSQL Databases h p:// svoboda/courses/ ndbi040/ Lecture 10 Column-Family Stores: Cassandra Mar n Svoboda svoboda@ksi.mff.cuni.cz Charles University in Prague, Faculty of Mathema cs and Physics Czech Technical University in Prague, Faculty of Electrical Engineering

2 Lecture Outline Column-family stores General introduc on Apache Cassandra Data model Cassandra query language DDL statements DML statements NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

3 Wide Column Stores Data model Column family (table) Table is a collec on of similar rows (not necessarily iden cal) Row Row is a collec on of columns Should encompass a group of data that is accessed together Associated with a unique row key Column Column consists of a column name and column value (and possibly other metadata records) Scalar values, but also flat sets, lists or maps may be allowed NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

4 Wide Column Stores Query pa erns Create, update or remove a row within a given column family Select rows according to a row key or simple condi ons Warning Wide column stores are not just a special kind of RDBMSs with a variable set of columns! NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

5 Wide Column Stores Suitable use cases Event logging, content management systems, blogs, I.e. for structured flat data with similar schema When not to use ACID transac ons are required Complex queries: aggrega on (SUM, AVG, ), joining, Early prototypes: i.e. when database design may change Representa ves Apache Cassandra, Apache HBase, Apache Accumulo, Hypertable, Google Bigtable NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

6 Wide Column Stores Representa ves NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

7 Apache Cassandra

8 Apache Cassandra Column-family database h p://cassandra.apache.org/ Features Open-source, high availability, linear scalability, sharding (spanning mul ple datacenters), peer-to-peer configurable replica on, tunable consistency, MapReduce support Developed by Apache So ware Founda on Originally at Facebook Implemented in Java Opera ng systems: cross-pla orm Ini al release in 2008 NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

9 Data Model Database system structure Instance keyspaces tables rows columns Keyspace Table (column family) Collec on of (similar) rows Table schema must be specified, yet can be modified later on Row Collec on of columns Rows in a table do not need to have the same columns Each row is uniquely iden fied by a primary key Column Name-value pair + addi onal data NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

10 Data Model Column values Empty value Atomic value Na ve data types such as texts, integers, dates, Tuples Tuple of anonymous fields, each of any type (even different) User defined types (UDT) Set of named fields of any type Collec ons Lists, sets, and maps Nested tuples, UDTs, or collec ons are allowed, but currently only in frozen mode (such elements are serialized when stored) NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

11 Data Model Collec ons List Sorted collec on of non-unique values List elements are ordered by their posi ons Not always recommended because of performance issues Internal read-before-write opera ons have to be executed Set Sorted collec on of unique values Map Sorted collec on of key-value pairs Map elements are ordered by their keys Keys must be unique NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

12 Sample Data Table of actors id trojan name ( Ivan, Trojan ) year 1964 movies { samotari, medvidek } machacek name ( Jiří, Macháček ) year 1966 movies { medvidek, vratnelahve, samotari } schneiderova name ( Jitka, Schneiderová ) year 1973 movies { samotari } sverak name ( Zdeněk, Svěrák ) year 1936 movies { vratnelahve } NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

13 Sample Data Table of movies id samotari tle Samotáři year 2000 actors null genres [ comedy, drama ] medvidek tle Medvídek director ( Jan, Hřebejk ) actors { trojan: Ivan, machacek: Jirka } year 2007 vratnelahve tle Vratné lahve year 2006 actors { machacek: Robert Landa } zelary tle Želary year 2003 actors {} genres [ romance, drama ] NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

14 Data Model Addi onal data associated with the whole column in case of atomic values, or every element of a collec on Time-to-live (TTL) A er a certain amount of me (number of seconds) a given value is automa cally deleted Timestamp (write me) Timestamp of the last value modifica on Assigned automa cally or manually as well Both the records can be queried Unfortunately not in case of collec ons and their elements NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

15 Cassandra API CQLSH Interac ve command line shell Uses CQL (Cassandra Query Language) Client drivers Provided by the community Available for various languages Java, Python, Ruby, PHP, C++, Scala, Erlang, NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

16 Query Language CQL = Cassandra Query Language Declara ve query language Inspired by SQL DDL statements creates a new keyspace creates a new table DML statements selects and projects rows from a single table inserts rows into a table updates columns of rows in a table removes rows from a table NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

17 Keyspaces CREATE KEYSPACE CREATE KEYSPACE IF NOT EXISTS keyspace name WITH option name = option value Creates a new keyspace Replica on op on is mandatory (one replica on factor) (individual replica on factor for each data center) NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

18 Keyspaces USE Changes the current keyspace USE keyspace name DROP KEYSPACE Removes a keyspace, all its tables, data etc. DROP KEYSPACE keyspace name IF EXISTS ALTER KEYSPACE Modifies op ons of an exis ng keyspace NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

19 Tables CREATE TABLE Creates a new table within the current keyspace Each table must have exactly one primary key specified CREATE TABLE IF NOT EXISTS table name ( column name type PRIMARY KEY,, primary key ) NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

20 Tables Examples tables for actors and movies NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

21 Tables Primary key has two parts: Compulsory par on key Single column or mul ple columns Describes how table rows are distributed among par ons Op onal clustering columns Defines the clustering order, i.e. how table rows are locally stored within a par on PRIMARY KEY ( column name ( column name, ), column name ) NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

22 Tables DROP TABLE Removes a table together with all data it contains DROP TABLE table name IF EXISTS TRUNCATE TABLE Preserves a table but removes all data it contains TRUNCATE TABLE table name ALTER TABLE Allows to alter, add or drop table columns NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

23 Types Types of columns Na ve types Tuples Collec on types: lists, sets, and maps User-defined types native type TUPLE < type > LIST < type > SET < type > MAP < type, type >..., NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

24 Types Na ve types,,, Signed integers (1B, 2B, 4B, 8B) Arbitrary-precision integer Variable-precision decimal, Floa ng point numbers (4B, 8B) Boolean values and NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

25 Types Na ve types, UTF8 encoded string Enclosed in single quotes (not double quotes) Escaping sequence: ASCII encoded string,, Dates, mes and mestamps E.g.,, NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

26 Types Na ve types 8B signed integer Only 2 opera ons supported: incremen ng and decremen ng I.e. value of a counter cannot be set to a par cular number Restric ons in usage Counters cannot be a part of a primary key Either all table columns (outside the primary key) are counters, or none of them TTL is not supported arbitrary bytes IP address (both IPv4 and IPv6) NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

27 Literals Tuple and collec on literals Literals for tuples, lists, sets, and maps ( term ) [, term ] {, term }, { term : term }, NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

28 Selec on SELECT statement Selects matching rows from a single table SELECT clause FROM clause WHERE clause GROUP BY clause ORDER BY clause LIMIT clause ALLOW FILTERING NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

29 Selec on Clauses of SELECT statements columns or values to appear in the result single table to be queried filtering condi ons to be applied on table rows columns used for grouping of rows criteria defining the order of rows in the result number of rows to be included in the result Example NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

30 Selec on FROM clause Defines a single table to be queried From the current / specified keyspace I.e. joining of mul ple tables is not possible FROM keyspace name. table name NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

31 Selec on WHERE clause One or more rela ons a row must sa sfy in order to be included in the query result WHERE relation AND Only simple condi ons can be expressed and not all rela ons are allowed, e.g.: only primary key columns can be involved unless secondary index structures exist non-equal rela ons on par on keys are not supported NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

32 Selec on WHERE clause: rela ons column name = term ( column name, )!= < <= => > IN ( term ), CONTAINS term CONTAINS KEY NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

33 Selec on WHERE clause: rela ons Comparisons,,,,, IN Returns true if the actual value is one of the enumerated CONTAINS May only be used on collec ons (lists, sets, and maps) Returns true if a collec on contains a given element CONTAINS KEY May only be used on maps Returns true is a map contains a given key NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

34 Selec on SELECT clause Defines columns or values to be included in the result = all the table columns Aliases can be defined using SELECT DISTINCT * selector AS identifier, DISTINCT duplicate rows are removed NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

35 Selec on SELECT clause: selectors column name term COUNT ( * ) WRITETIME ( column name ) TTL ( column name ) COUNT(*) Number of all the rows in a group (see aggrega on) WRITETIME and TTL Selects mestamp / remaining me-to-live of a given column Cannot be used on collec ons and their elements Cannot be used in other clauses (e.g. WHERE) NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

36 Selec on ORDER BY clause Defines the order of rows returned in the query result Only orderings induced by clustering columns are allowed! ORDER BY column name ASC DESC, LIMIT clause Limits the number of rows returned in the query result LIMIT integer NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

37 Selec on GROUP BY clause Groups rows of a table according to certain columns Only groupings induced by primary key columns are allowed! GROUP BY column name, When a non-grouping column is selected without an aggregate func on, the first value encounter is always returned NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

38 Selec on GROUP BY clause: aggregates Na ve aggregates column Number of all the values in a given column values are ignored column, column Minimal / maximal value in a given column Sum of all the values of a given column Average of all the values of a given column User-defined aggregates NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

39 Selec on ALLOW FILTERING modifier By default, only non-filtering queries are allowed I.e. queries where the number of rows read the number of rows returned Such queries have predictable performance They will execute in a me that is propor onal to the amount of data returned enables (some) filtering queries NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

40 Inser ons INSERT statement Inserts a new row into a given table When a row with a given primary key already exists, it is updated At least primary key columns must be specified and they have to always be explicitly enumerated INSERT INTO keyspace name. table name ( column name, ) VALUES ( term, ) IF NOT EXISTS USING update parameters NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

41 Inser ons Example NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

42 Inser ons and Updates Update parameters TTL: me-to-live or or simply missing for persistent values TIMESTAMP: write me TIMESTAMP integer TTL AND Only newly inserted / updated values are really affected NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

43 Updates UPDATE statement Updates exis ng rows within a given table When a row with a given primary key does not yet exist, it is inserted All primary key columns must be specified in the WHERE clause UPDATE keyspace name. table name USING update parameters SET assignment, WHERE clause NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

44 Updates UPDATE statement: assignments Describe modifica ons to be applied Allowed assignments: Value of a whole column is replaced Value of a list or map element is replaced Value of an UDT field is replaced column name = term column name [ term ] column name. field name NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

45 Updates Examples NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

46 Updates Examples NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

47 Dele ons DELETE statement Removes exis ng rows / columns / collec on elements from a given table DELETE column name column name [ term ] column name. field name, FROM clause WHERE clause NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

48 Lecture Conclusion Cassandra Column-family store Cassandra query language DDL statements DML statements SELECT, INSERT, UPDATE, DELETE NDBI040: Big Data Management and NoSQL Databases Lecture 10: Column-Family Stores: Cassandra

h p://

h p:// B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-b4m36ds2/ Prac cal Class 7 Cassandra Mar n Svoboda mar n.svoboda@fel.cvut.cz 27. 11. 2017 Charles University in Prague,

More information

B4M36DS2, BE4M36DS2: Database Systems 2

B4M36DS2, BE4M36DS2: Database Systems 2 B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-b4m36ds2/ Lecture 2 Data Formats Mar n Svoboda mar n.svoboda@fel.cvut.cz 9. 10. 2017 Charles University in Prague,

More information

NDBI040: Big Data Management and NoSQL Databases

NDBI040: Big Data Management and NoSQL Databases NDBI040: Big Data Management and NoSQL Databases h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-ndbi040/ Prac cal Class 8 MongoDB Mar n Svoboda svoboda@ksi.mff.cuni.cz 5. 12. 2017 Charles University in

More information

Key-Value Stores: RiakKV

Key-Value Stores: RiakKV NDBI040: Big Data Management and NoSQL Databases h p://www.ksi.mff.cuni.cz/ svoboda/courses/2016-1-ndbi040/ Lecture 4 Key-Value Stores: RiakKV Mar n Svoboda svoboda@ksi.mff.cuni.cz 25. 10. 2016 Charles

More information

Key-Value Stores: RiakKV

Key-Value Stores: RiakKV B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.m.cuni.cz/~svoboda/courses/181-b4m36ds2/ Lecture 7 Key-Value Stores: RiakKV Mar n Svoboda mar n.svoboda@fel.cvut.cz 12. 11. 2018 Charles University,

More information

Key-Value Stores: RiakKV

Key-Value Stores: RiakKV B4M36DS2: Database Systems 2 h p://www.ksi.mff.cuni.cz/ svoboda/courses/2016-1-b4m36ds2/ Lecture 4 Key-Value Stores: RiakKV Mar n Svoboda svoboda@ksi.mff.cuni.cz 24. 10. 2016 Charles University in Prague,

More information

NDBI040: Big Data Management and NoSQL Databases. h p:// svoboda/courses/ ndbi040/

NDBI040: Big Data Management and NoSQL Databases. h p://  svoboda/courses/ ndbi040/ NDBI040: Big Data Management and NoSQL Databases h p://www.ksi.mff.cuni.cz/ svoboda/courses/2016-1-ndbi040/ Prac cal Class 2 Riak Key-Value Store Mar n Svoboda svoboda@ksi.mff.cuni.cz 25. 10. 2016 Charles

More information

NDBI040: Big Data Management and NoSQL Databases. h p://

NDBI040: Big Data Management and NoSQL Databases. h p:// NDBI040: Big Data Management and NoSQL Databases h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-ndbi040/ Prac cal Class 5 Riak Mar n Svoboda svoboda@ksi.mff.cuni.cz 13. 11. 2017 Charles University in Prague,

More information

h p://

h p:// B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.m.cuni.cz/~svoboda/courses/181-b4m36ds2/ Prac cal Class 7 Redis Mar n Svoboda mar n.svoboda@fel.cvut.cz 19. 11. 2018 Charles University, Faculty of

More information

MapReduce, Apache Hadoop

MapReduce, Apache Hadoop B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-b4m36ds2/ Lecture 5 MapReduce, Apache Hadoop Mar n Svoboda mar n.svoboda@fel.cvut.cz 30. 10. 2017 Charles University

More information

SQL: Advanced Constructs

SQL: Advanced Constructs B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.mff.cuni.cz/~svoboda/courses/172-b0b36dbs/ Prac cal Class 8 SQL: Advanced Constructs Author: Mar n Svoboda, mar n.svoboda@fel.cvut.cz Tutors: J. Ahmad,

More information

h p://

h p:// B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.mff.cuni.cz/~svoboda/courses/171-b4m36ds2/ Lecture 1 Introduc on Mar n Svoboda mar n.svoboda@fel.cvut.cz 2. 10. 2017 Charles University in Prague,

More information

Document Databases: MongoDB

Document Databases: MongoDB NDBI040: Big Data Management and NoSQL Databases hp://www.ksi.mff.cuni.cz/~svoboda/courses/171-ndbi040/ Lecture 9 Document Databases: MongoDB Marn Svoboda svoboda@ksi.mff.cuni.cz 28. 11. 2017 Charles University

More information

Document Stores: MongoDB

Document Stores: MongoDB Course NDBI040: Big Data Management and NoSQL Databases Practice 04: Document Stores: MongoDB Martin Svoboda 15. 12. 2015 Faculty of Mathematics and Physics, Charles University in Prague Outline Document

More information

h p://

h p:// B4M36DS2, BE4M36DS2: Database Systems 2 h p://www.ksi.m.cuni.cz/~svoboda/courses/181-b4m36ds2/ Prac cal Class 5 MapReduce Mar n Svoboda mar n.svoboda@fel.cvut.cz 5. 11. 2018 Charles University, Faculty

More information

Column-Family Stores: Cassandra

Column-Family Stores: Cassandra Course NDBI040: Big Data Management and NoSQL Databases Practice 03: Column-Family Stores: Cassandra Martin Svoboda 1. 12. 2015 Faculty of Mathematics and Physics, Charles University in Prague Outline

More information

CIB Session 12th NoSQL Databases Structures

CIB Session 12th NoSQL Databases Structures CIB Session 12th NoSQL Databases Structures By: Shahab Safaee & Morteza Zahedi Software Engineering PhD Email: safaee.shx@gmail.com, morteza.zahedi.a@gmail.com cibtrc.ir cibtrc cibtrc 2 Agenda What is

More information

Querying Data with Transact SQL

Querying Data with Transact SQL Course 20761A: Querying Data with Transact SQL Course details Course Outline Module 1: Introduction to Microsoft SQL Server 2016 This module introduces SQL Server, the versions of SQL Server, including

More information

SQL: Data De ni on. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3

SQL: Data De ni on. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3 B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 3 SQL: Data De ni on Mar n Svoboda mar n.svoboda@fel.cvut.cz 13. 3. 2018 Czech Technical University

More information

SQL: Data Querying. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 4

SQL: Data Querying. B0B36DBS, BD6B36DBS: Database Systems. h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 4 B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 4 SQL: Data Querying Mar n Svoboda mar n.svoboda@fel.cvut.cz 20. 3. 2018 Czech Technical University

More information

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS Questions & Answers- DBMS https://career.guru99.com/top-50-database-interview-questions/ 1) Define Database. A prearranged collection of figures known as data is called database. 2) What is DBMS? Database

More information

SQL Data Querying and Views

SQL Data Querying and Views Course A7B36DBS: Database Systems Lecture 04: SQL Data Querying and Views Martin Svoboda Faculty of Electrical Engineering, Czech Technical University in Prague Outline SQL Data manipulation SELECT queries

More information

Column-Family Databases Cassandra and HBase

Column-Family Databases Cassandra and HBase Column-Family Databases Cassandra and HBase Kevin Swingler Google Big Table Google invented BigTableto store the massive amounts of semi-structured data it was generating Basic model stores items indexed

More information

Cassandra- A Distributed Database

Cassandra- A Distributed Database Cassandra- A Distributed Database Tulika Gupta Department of Information Technology Poornima Institute of Engineering and Technology Jaipur, Rajasthan, India Abstract- A relational database is a traditional

More information

CGS 3066: Spring 2017 SQL Reference

CGS 3066: Spring 2017 SQL Reference CGS 3066: Spring 2017 SQL Reference Can also be used as a study guide. Only covers topics discussed in class. This is by no means a complete guide to SQL. Database accounts are being set up for all students

More information

Simba ODBC Driver with SQL Connector for Apache Cassandra

Simba ODBC Driver with SQL Connector for Apache Cassandra Simba ODBC Driver with SQL Connector for Apache Cassandra 2.0.16 The release notes provide details of enhancements and features in Simba ODBC Driver with SQL Connector for Apache Cassandra 2.0.16, as well

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

NoSQL systems. Lecture 21 (optional) Instructor: Sudeepa Roy. CompSci 516 Data Intensive Computing Systems

NoSQL systems. Lecture 21 (optional) Instructor: Sudeepa Roy. CompSci 516 Data Intensive Computing Systems CompSci 516 Data Intensive Computing Systems Lecture 21 (optional) NoSQL systems Instructor: Sudeepa Roy Duke CS, Spring 2016 CompSci 516: Data Intensive Computing Systems 1 Key- Value Stores Duke CS,

More information

Comparing SQL and NOSQL databases

Comparing SQL and NOSQL databases COSC 6397 Big Data Analytics Data Formats (II) HBase Edgar Gabriel Spring 2014 Comparing SQL and NOSQL databases Types Development History Data Storage Model SQL One type (SQL database) with minor variations

More information

Getting to know. by Michelle Darling August 2013

Getting to know. by Michelle Darling August 2013 Getting to know by Michelle Darling mdarlingcmt@gmail.com August 2013 Agenda: What is Cassandra? Installation, CQL3 Data Modelling Summary Only 15 min to cover these, so please hold questions til the end,

More information

NOSQL EGCO321 DATABASE SYSTEMS KANAT POOLSAWASD DEPARTMENT OF COMPUTER ENGINEERING MAHIDOL UNIVERSITY

NOSQL EGCO321 DATABASE SYSTEMS KANAT POOLSAWASD DEPARTMENT OF COMPUTER ENGINEERING MAHIDOL UNIVERSITY NOSQL EGCO321 DATABASE SYSTEMS KANAT POOLSAWASD DEPARTMENT OF COMPUTER ENGINEERING MAHIDOL UNIVERSITY WHAT IS NOSQL? Stands for No-SQL or Not Only SQL. Class of non-relational data storage systems E.g.

More information

B0B36DBS, BD6B36DBS: Database Systems

B0B36DBS, BD6B36DBS: Database Systems B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Prac cal Class 10 JDBC, JPA 2.1 Author: Mar n Svoboda, mar n.svoboda@fel.cvut.cz Tutors: J. Ahmad, R. Černoch,

More information

CSC Web Programming. Introduction to SQL

CSC Web Programming. Introduction to SQL CSC 242 - Web Programming Introduction to SQL SQL Statements Data Definition Language CREATE ALTER DROP Data Manipulation Language INSERT UPDATE DELETE Data Query Language SELECT SQL statements end with

More information

Cassandra, MongoDB, and HBase. Cassandra, MongoDB, and HBase. I have chosen these three due to their recent

Cassandra, MongoDB, and HBase. Cassandra, MongoDB, and HBase. I have chosen these three due to their recent Tanton Jeppson CS 401R Lab 3 Cassandra, MongoDB, and HBase Introduction For my report I have chosen to take a deeper look at 3 NoSQL database systems: Cassandra, MongoDB, and HBase. I have chosen these

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle Database 11g: SQL and PL/SQL Fundamentals Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL

More information

Information Systems Engineering. SQL Structured Query Language DDL Data Definition (sub)language

Information Systems Engineering. SQL Structured Query Language DDL Data Definition (sub)language Information Systems Engineering SQL Structured Query Language DDL Data Definition (sub)language 1 SQL Standard Language for the Definition, Querying and Manipulation of Relational Databases on DBMSs Its

More information

Scaling Up HBase. Duen Horng (Polo) Chau Assistant Professor Associate Director, MS Analytics Georgia Tech. CSE6242 / CX4242: Data & Visual Analytics

Scaling Up HBase. Duen Horng (Polo) Chau Assistant Professor Associate Director, MS Analytics Georgia Tech. CSE6242 / CX4242: Data & Visual Analytics http://poloclub.gatech.edu/cse6242 CSE6242 / CX4242: Data & Visual Analytics Scaling Up HBase Duen Horng (Polo) Chau Assistant Professor Associate Director, MS Analytics Georgia Tech Partly based on materials

More information

CS 4604: Introduc0on to Database Management Systems. B. Aditya Prakash Lecture #7: En-ty/Rela-onal Model---Part 3

CS 4604: Introduc0on to Database Management Systems. B. Aditya Prakash Lecture #7: En-ty/Rela-onal Model---Part 3 CS 4604: Introduc0on to Database Management Systems B. Aditya Prakash Lecture #7: En-ty/Rela-onal Model---Part 3 Purpose of E/R Model The E/R model allows us to sketch the design of a database informally.

More information

Big Data Analytics. Rasoul Karimi

Big Data Analytics. Rasoul Karimi Big Data Analytics Rasoul Karimi Information Systems and Machine Learning Lab (ISMLL) Institute of Computer Science University of Hildesheim, Germany Big Data Analytics Big Data Analytics 1 / 1 Outline

More information

COSC 6339 Big Data Analytics. NoSQL (II) HBase. Edgar Gabriel Fall HBase. Column-Oriented data store Distributed designed to serve large tables

COSC 6339 Big Data Analytics. NoSQL (II) HBase. Edgar Gabriel Fall HBase. Column-Oriented data store Distributed designed to serve large tables COSC 6339 Big Data Analytics NoSQL (II) HBase Edgar Gabriel Fall 2018 HBase Column-Oriented data store Distributed designed to serve large tables Billions of rows and millions of columns Runs on a cluster

More information

T-SQL Training: T-SQL for SQL Server for Developers

T-SQL Training: T-SQL for SQL Server for Developers Duration: 3 days T-SQL Training Overview T-SQL for SQL Server for Developers training teaches developers all the Transact-SQL skills they need to develop queries and views, and manipulate data in a SQL

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database

More information

Harnessing Publicly Available Factual Data in the Analytical Process

Harnessing Publicly Available Factual Data in the Analytical Process June 14, 2012 Harnessing Publicly Available Factual Data in the Analytical Process by Benson Margulies, CTO We put the World in the World Wide Web ABOUT BASIS TECHNOLOGY Basis Technology provides so ware

More information

GridDB Advanced Edition SQL reference

GridDB Advanced Edition SQL reference GMA022J4 GridDB Advanced Edition SQL reference Toshiba Digital Solutions Corporation 2017-2018 All Rights Reserved. Introduction This manual describes how to write a SQL command in the GridDB Advanced

More information

Big Data Development CASSANDRA NoSQL Training - Workshop. November 20 to (5 days) 9 am to 5 pm HOTEL DUBAI GRAND DUBAI

Big Data Development CASSANDRA NoSQL Training - Workshop. November 20 to (5 days) 9 am to 5 pm HOTEL DUBAI GRAND DUBAI Big Data Development CASSANDRA NoSQL Training - Workshop November 20 to 24 2016 (5 days) 9 am to 5 pm HOTEL DUBAI GRAND DUBAI ISIDUS TECH TEAM FZE PO Box 9798 Dubai UAE, email training-coordinator@isidusnet

More information

Migrating Oracle Databases To Cassandra

Migrating Oracle Databases To Cassandra BY UMAIR MANSOOB Why Cassandra Lower Cost of ownership makes it #1 choice for Big Data OLTP Applications. Unlike Oracle, Cassandra can store structured, semi-structured, and unstructured data. Cassandra

More information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle Database: SQL and PL/SQL Fundamentals NEW Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the fundamentals of SQL and PL/SQL along with the

More information

We are ready to serve Latest Testing Trends, Are you ready to learn?? New Batches Info

We are ready to serve Latest Testing Trends, Are you ready to learn?? New Batches Info We are ready to serve Latest Testing Trends, Are you ready to learn?? New Batches Info START DATE : TIMINGS : DURATION : TYPE OF BATCH : FEE : FACULTY NAME : LAB TIMINGS : PH NO: 9963799240, 040-40025423

More information

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

More information

Distributed PostgreSQL with YugaByte DB

Distributed PostgreSQL with YugaByte DB Distributed PostgreSQL with YugaByte DB Karthik Ranganathan PostgresConf Silicon Valley Oct 16, 2018 1 CHECKOUT THIS REPO: github.com/yugabyte/yb-sql-workshop 2 About Us Founders Kannan Muthukkaruppan,

More information

1) Introduction to SQL

1) Introduction to SQL 1) Introduction to SQL a) Database language enables users to: i) Create the database and relation structure; ii) Perform insertion, modification and deletion of data from the relationship; and iii) Perform

More information

Jargons, Concepts, Scope and Systems. Key Value Stores, Document Stores, Extensible Record Stores. Overview of different scalable relational systems

Jargons, Concepts, Scope and Systems. Key Value Stores, Document Stores, Extensible Record Stores. Overview of different scalable relational systems Jargons, Concepts, Scope and Systems Key Value Stores, Document Stores, Extensible Record Stores Overview of different scalable relational systems Examples of different Data stores Predictions, Comparisons

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

More information

Introduction to Hadoop. High Availability Scaling Advantages and Challenges. Introduction to Big Data

Introduction to Hadoop. High Availability Scaling Advantages and Challenges. Introduction to Big Data Introduction to Hadoop High Availability Scaling Advantages and Challenges Introduction to Big Data What is Big data Big Data opportunities Big Data Challenges Characteristics of Big data Introduction

More information

GridDB Advanced Edition SQL reference

GridDB Advanced Edition SQL reference GMA022C1 GridDB Advanced Edition SQL reference Toshiba Solutions Corporation 2016 All Rights Reserved. Introduction This manual describes how to write a SQL command in the GridDB Advanced Edition. Please

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

Chapter-14 SQL COMMANDS

Chapter-14 SQL COMMANDS Chapter-14 SQL COMMANDS What is SQL? Structured Query Language and it helps to make practice on SQL commands which provides immediate results. SQL is Structured Query Language, which is a computer language

More information

NESTED QUERIES AND AGGREGATION CHAPTER 5 (6/E) CHAPTER 8 (5/E)

NESTED QUERIES AND AGGREGATION CHAPTER 5 (6/E) CHAPTER 8 (5/E) 1 NESTED QUERIES AND AGGREGATION CHAPTER 5 (6/E) CHAPTER 8 (5/E) 2 LECTURE OUTLINE More Complex SQL Retrieval Queries Self-Joins Renaming Attributes and Results Grouping, Aggregation, and Group Filtering

More information

Presented by Sunnie S Chung CIS 612

Presented by Sunnie S Chung CIS 612 By Yasin N. Silva, Arizona State University Presented by Sunnie S Chung CIS 612 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See http://creativecommons.org/licenses/by-nc-sa/4.0/

More information

CMPT 354: Database System I. Lecture 3. SQL Basics

CMPT 354: Database System I. Lecture 3. SQL Basics CMPT 354: Database System I Lecture 3. SQL Basics 1 Announcements! About Piazza 97 enrolled (as of today) Posts are anonymous to classmates You should have started doing A1 Please come to office hours

More information

Cassandra 2012: What's New & Upcoming. Sam Tunnicliffe

Cassandra 2012: What's New & Upcoming. Sam Tunnicliffe Cassandra 2012: What's New & Upcoming Sam Tunnicliffe sam@datastax.com DSE : integrated Big Data platform Built on Cassandra Analytics using Hadoop (Hive/Pig/Mahout) Enterprise Search with Solr Cassandra

More information

DFM Concurrent Costing

DFM Concurrent Costing Die Casting Analysis Start a new analysis For the purposes of this tutorial we will es mate the cost per part of manufacturing 200,000 of the disk drive casings shown here: front The material is to be

More information

MySQL for Developers. Duration: 5 Days

MySQL for Developers. Duration: 5 Days Oracle University Contact Us: 0800 891 6502 MySQL for Developers Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to develop console and web applications using

More information

App Engine: Datastore Introduction

App Engine: Datastore Introduction App Engine: Datastore Introduction Part 1 Another very useful course: https://www.udacity.com/course/developing-scalableapps-in-java--ud859 1 Topics cover in this lesson What is Datastore? Datastore and

More information

10/18/2017. Announcements. NoSQL Motivation. NoSQL. Serverless Architecture. What is the Problem? Database Systems CSE 414

10/18/2017. Announcements. NoSQL Motivation. NoSQL. Serverless Architecture. What is the Problem? Database Systems CSE 414 Announcements Database Systems CSE 414 Lecture 11: NoSQL & JSON (mostly not in textbook only Ch 11.1) HW5 will be posted on Friday and due on Nov. 14, 11pm [No Web Quiz 5] Today s lecture: NoSQL & JSON

More information

Distributed Non-Relational Databases. Pelle Jakovits

Distributed Non-Relational Databases. Pelle Jakovits Distributed Non-Relational Databases Pelle Jakovits Tartu, 7 December 2018 Outline Relational model NoSQL Movement Non-relational data models Key-value Document-oriented Column family Graph Non-relational

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

Non-Relational Databases. Pelle Jakovits

Non-Relational Databases. Pelle Jakovits Non-Relational Databases Pelle Jakovits 25 October 2017 Outline Background Relational model Database scaling The NoSQL Movement CAP Theorem Non-relational data models Key-value Document-oriented Column

More information

MySQL for Developers. Duration: 5 Days

MySQL for Developers. Duration: 5 Days Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 MySQL for Developers Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to develop

More information

Chapter 4. Basic SQL. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Chapter 4. Basic SQL. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Basic SQL Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Outline SQL Data Definition and Data Types Specifying Constraints in SQL Basic Retrieval Queries

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2015 Lecture 14 NoSQL

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2015 Lecture 14 NoSQL CSE 544 Principles of Database Management Systems Magdalena Balazinska Winter 2015 Lecture 14 NoSQL References Scalable SQL and NoSQL Data Stores, Rick Cattell, SIGMOD Record, December 2010 (Vol. 39, No.

More information

1 Big Data Hadoop. 1. Introduction About this Course About Big Data Course Logistics Introductions

1 Big Data Hadoop. 1. Introduction About this Course About Big Data Course Logistics Introductions Big Data Hadoop Architect Online Training (Big Data Hadoop + Apache Spark & Scala+ MongoDB Developer And Administrator + Apache Cassandra + Impala Training + Apache Kafka + Apache Storm) 1 Big Data Hadoop

More information

REGION: NORTH AMERICA

REGION: NORTH AMERICA R U M A REGION: NORTH AMERICA R U M A Chapter Issue Date 1 Introduc on 05/21/2012 2 Install and Upgrade Minimum Hardware Requirements Android Opera ng System and Wi Fi Se ngs Installing Revoquest the First

More information

PROFESSIONAL. NoSQL. Shashank Tiwari WILEY. John Wiley & Sons, Inc.

PROFESSIONAL. NoSQL. Shashank Tiwari WILEY. John Wiley & Sons, Inc. PROFESSIONAL NoSQL Shashank Tiwari WILEY John Wiley & Sons, Inc. Examining CONTENTS INTRODUCTION xvil CHAPTER 1: NOSQL: WHAT IT IS AND WHY YOU NEED IT 3 Definition and Introduction 4 Context and a Bit

More information

MongoDB An Overview. 21-Oct Socrates

MongoDB An Overview. 21-Oct Socrates MongoDB An Overview 21-Oct-2016 Socrates Agenda What is NoSQL DB? Types of NoSQL DBs DBMS and MongoDB Comparison Why MongoDB? MongoDB Architecture Storage Engines Data Model Query Language Security Data

More information

CS121 MIDTERM REVIEW. CS121: Relational Databases Fall 2017 Lecture 13

CS121 MIDTERM REVIEW. CS121: Relational Databases Fall 2017 Lecture 13 CS121 MIDTERM REVIEW CS121: Relational Databases Fall 2017 Lecture 13 2 Before We Start Midterm Overview 3 6 hours, multiple sittings Open book, open notes, open lecture slides No collaboration Possible

More information

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: 20762C Developing SQL 2016 Databases Module 1: An Introduction to Database Development Introduction to the

More information

MySQL Workshop. Scott D. Anderson

MySQL Workshop. Scott D. Anderson MySQL Workshop Scott D. Anderson Workshop Plan Part 1: Simple Queries Part 2: Creating a database Part 3: Joining tables Part 4: complex queries: grouping aggregate functions subqueries sorting Reference:

More information

Principles of Data Management

Principles of Data Management Principles of Data Management Alvin Lin August 2018 - December 2018 Structured Query Language Structured Query Language (SQL) was created at IBM in the 80s: SQL-86 (first standard) SQL-89 SQL-92 (what

More information

Advanced Data Management Technologies

Advanced Data Management Technologies ADMT 2017/18 Unit 15 J. Gamper 1/44 Advanced Data Management Technologies Unit 15 Introduction to NoSQL J. Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE ADMT 2017/18 Unit 15

More information

CISC 7610 Lecture 2b The beginnings of NoSQL

CISC 7610 Lecture 2b The beginnings of NoSQL CISC 7610 Lecture 2b The beginnings of NoSQL Topics: Big Data Google s infrastructure Hadoop: open google infrastructure Scaling through sharding CAP theorem Amazon s Dynamo 5 V s of big data Everyone

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 6 Basic SQL Slide 6-2 Chapter 6 Outline SQL Data Definition and Data Types Specifying Constraints in SQL Basic Retrieval Queries in SQL INSERT, DELETE, and UPDATE Statements in SQL Additional Features

More information

Hadoop Development Introduction

Hadoop Development Introduction Hadoop Development Introduction What is Bigdata? Evolution of Bigdata Types of Data and their Significance Need for Bigdata Analytics Why Bigdata with Hadoop? History of Hadoop Why Hadoop is in demand

More information

Inter-agency Mee-ng on Prepara-on for the 2018 SDG Reports 28 Feb 01 Mar Agenda item 6: Review of data/metadata inputs for the database (UNSD)

Inter-agency Mee-ng on Prepara-on for the 2018 SDG Reports 28 Feb 01 Mar Agenda item 6: Review of data/metadata inputs for the database (UNSD) Inter-agency Mee-ng on Prepara-on for the 2018 SDG Reports 28 Feb 01 Mar 2018 Agenda item 6: Review of data/metadata inputs for the database (UNSD) Zin Lin Development Data and Dissemina-on Sec-on Sta-s-cs

More information

Column Stores and HBase. Rui LIU, Maksim Hrytsenia

Column Stores and HBase. Rui LIU, Maksim Hrytsenia Column Stores and HBase Rui LIU, Maksim Hrytsenia December 2017 Contents 1 Hadoop 2 1.1 Creation................................ 2 2 HBase 3 2.1 Column Store Database....................... 3 2.2 HBase

More information

Introduction to Big Data. NoSQL Databases. Instituto Politécnico de Tomar. Ricardo Campos

Introduction to Big Data. NoSQL Databases. Instituto Politécnico de Tomar. Ricardo Campos Instituto Politécnico de Tomar Introduction to Big Data NoSQL Databases Ricardo Campos Mestrado EI-IC Análise e Processamento de Grandes Volumes de Dados Tomar, Portugal, 2016 Part of the slides used in

More information

HKTA TANG HIN MEMORIAL SECONDARY SCHOOL SECONDARY 3 COMPUTER LITERACY. Name: ( ) Class: Date: Databases and Microsoft Access

HKTA TANG HIN MEMORIAL SECONDARY SCHOOL SECONDARY 3 COMPUTER LITERACY. Name: ( ) Class: Date: Databases and Microsoft Access Databases and Microsoft Access Introduction to Databases A well-designed database enables huge data storage and efficient data retrieval. Term Database Table Record Field Primary key Index Meaning A organized

More information

12. MS Access Tables, Relationships, and Queries

12. MS Access Tables, Relationships, and Queries 12. MS Access Tables, Relationships, and Queries 12.1 Creating Tables and Relationships Suppose we want to build a database to hold the information for computers (also refer to parts in the text) and suppliers

More information

ADVANCED DATABASES CIS 6930 Dr. Markus Schneider

ADVANCED DATABASES CIS 6930 Dr. Markus Schneider ADVANCED DATABASES CIS 6930 Dr. Markus Schneider Group 2 Archana Nagarajan, Krishna Ramesh, Raghav Ravishankar, Satish Parasaram Drawbacks of RDBMS Replication Lag Master Slave Vertical Scaling. ACID doesn

More information

Special Topic: Automated Report Recipients 5. Crea ng a New Region 6 Adding Districts to Regions 8

Special Topic: Automated Report Recipients 5. Crea ng a New Region 6 Adding Districts to Regions 8 TT Tracker Set-up 3 Project Modifica ons 3 Access Country Project 3 Create Web Users 4 Special Topic: Automated Report Recipients 5 Create Program Loca ons (Coverage Areas) 6 Crea ng a New Region 6 Adding

More information

Lecture 6 - More SQL

Lecture 6 - More SQL CMSC 461, Database Management Systems Spring 2018 Lecture 6 - More SQL These slides are based on Database System Concepts book and slides, 6, and the 2009/2012 CMSC 461 slides by Dr. Kalpakis Dr. Jennifer

More information

Big Data Infrastructure CS 489/698 Big Data Infrastructure (Winter 2017)

Big Data Infrastructure CS 489/698 Big Data Infrastructure (Winter 2017) Big Data Infrastructure CS 489/698 Big Data Infrastructure (Winter 2017) Week 10: Mutable State (1/2) March 14, 2017 Jimmy Lin David R. Cheriton School of Computer Science University of Waterloo These

More information

CS108 Lecture 18: Databases and SQL

CS108 Lecture 18: Databases and SQL CS108 Lecture 18: Databases and SQL Databases for data storage and access The Structured Query Language Aaron Stevens 4 March 2013 What You ll Learn Today How does Facebook generate unique pages for each

More information

TANKLOGIX PORTAL TICKET MANAGEMENT 3.2 AUTHOR: GREG BAGLEY

TANKLOGIX PORTAL TICKET MANAGEMENT 3.2 AUTHOR: GREG BAGLEY TANKLOGIX PORTAL TICKET MANAGEMENT 3.2 AUTHOR: GREG BAGLEY CONTENTS INTRODUCTION... 3 PORTAL NAVIGATION... 3 Disposals > Ticket Management 3.2... 3 PAGE FEATURES... 3 TITLE AREA PAGE TOP... 4 SITES...

More information

CSEN 501 CSEN501 - Databases I

CSEN 501 CSEN501 - Databases I CSEN501 - Databases I Lecture 5: Structured Query Language (SQL) Prof. Dr. Slim slim.abdennadher@guc.edu.eg German University Cairo, Faculty of Media Engineering and Technology Structured Query Language:

More information

Querying Data with Transact-SQL

Querying Data with Transact-SQL Course 20761A: Querying Data with Transact-SQL Page 1 of 5 Querying Data with Transact-SQL Course 20761A: 2 days; Instructor-Led Introduction The main purpose of this 2 day instructor led course is to

More information

Information Systems Engineering. SQL Structured Query Language DML Data Manipulation (sub)language

Information Systems Engineering. SQL Structured Query Language DML Data Manipulation (sub)language Information Systems Engineering SQL Structured Query Language DML Data Manipulation (sub)language 1 DML SQL subset for data manipulation (DML) includes four main operations SELECT - used for querying a

More information

CQL for DataStax Enterprise 5.1 (Previous version)

CQL for DataStax Enterprise 5.1 (Previous version) CQL for DataStax Enterprise 5.1 (Previous version) Updated: 2018-06-11-07:00 2018 DataStax, Inc. All rights reserved. DataStax, Titan, and TitanDB are registered trademark of DataStax, Inc. and its subsidiaries

More information