Batak Programming Language

Slides:



Advertisements
Similar presentations
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizards Guide to PHP by David Lash.
Advertisements

Relational data objects 1 Lecture 6. Relational data objects 2 Answer to last lectures activity.
Complex Integrity Constraints in SQL. Constraints over a Single Table Table Constraint: Create TABLE Sailors (sid INTEGER, sname CHAR(10), rating INTEGER,
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
SQL’s Data Definition Language (DDL) n DDL statements define, modify and remove objects from data dictionary tables maintained by the DBMS n Whenever you.
Day 3 - Basics of MySQL What is MySQL What is MySQL How to make basic tables How to make basic tables Simple MySQL commands. Simple MySQL commands.
PL/SQL (Procedural Language extensions to SQL) Prepared by: Manoj Kathpalia Edited by: M V Ramakrishna.
Representing Data Elements Gayatri Gopalakrishnan.
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
1 Relational Model. 2 Relational Database: Definitions  Relational database: a set of relations  Relation: made up of 2 parts: – Instance : a table,
CS 104 Introduction to Computer Science and Graphics Problems Introduction to Database (2) Basic SQL 12/05/2008 Yang Song.
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.
1 SQL (CSCE 330) Team Members Bushira Kiyemba La’Trice Johnson Curtis Merriweather.
SQL Overview Defining a Schema CPSC 315 – Programming Studio Spring 2008 Project 1, Lecture 3 Slides adapted from those used by Jeffrey Ullman, via Jennifer.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
SQLite 1 CS440. What is SQLite?  Open Source Database embedded in Android  SQL syntax  Requires small memory at runtime (250 Kbytes)  Lightweight.
DATABASES AND SQL. Introduction Relation: Relation means table(data is arranged in rows and columns) Domain : A domain is a pool of values appearing in.
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
SQL Overview Defining a Schema CPSC 315 – Programming Studio Slides adapted from those used by Jeffrey Ullman, via Jennifer Welch Via Yoonsuck Choe.
Structured Query Language (SQL) A2 Teacher Up skilling LECTURE 2.
ASCA 2007 Review 07/07/07. Curriculum Change Old syllabus 1. Information Processing 2. The Computer System 3. Operating a Microcomputer 4. Databases 5.
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.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
DBI tutorial February 5 th, What is DBI DBI is short for Database Interface, which is a Perl module DBI is short for Database Interface, which is.
Internet Forms and Database Bob Kisel Amgraf, Inc.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Company LOGO OODB and XML Database Management Systems – Fall 2012 Matthew Moccaro.
CS 3630 Database Design and Implementation. Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial.
Winter 2006Keller Ullman Cushing8–1 Turning in Assignments Please turn in hard copy (use only in the direst of circumstances). I am not your secretary.
1 Structured Query Language (SQL). 2 Contents SQL – I SQL – II SQL – III SQL – IV.
FALL 2004CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
Chapter 10: The Data Tier We discuss back-end data storage for Web applications, relational data, and using the MySQL database server for back-end storage.
CS 3630 Database Design and Implementation. Assignment 3 Style! Agreement between database designer and the client. UserName1_EasyDrive UserName2_EasyDrive.
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.
Databases MIS 21. Some database terminology  Database: integrated collection of data  Database Management System (DBMS): environment that provides mechanisms.
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.
Creating Tables and Inserting Records -- Not easy to edit! -- check constraints! Create table test1 ( C1 char(5) primary key, C2 Varchar2(15) not null.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
Advanced Database CS-426 Week 1 - Introduction. Database Management System DBMS contains information about a particular enterprise Collection of interrelated.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Module Coordinator Tan Szu Tak School of Information and Communication Technology, Politeknik Brunei Semester
SQL for SQL Server, C13© 2002, Mike Murach & Associates, Inc. Slide 1.
Databases Letts Chapter 11. A database program can be used to:  sort a file into a different order;  search through the records for a matching string.
SQL Overview Structured Query Language. Description  When Codd first described the theory of relational databases, he asserted that there should be a.
File Server Architecture In File Server Architecture, file server can’t process the data but can only pass on the data to the client who can process it.
Task #1 Create a relational database on computers in computer classroom 308, using MySQL server and any client. Create the same database, using MS Access.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
CS 111 – Nov. 8 Databases Database Management Systems (DBMS) Structured Query Language (SQL) Commitment –Please review sections 9.1 – 9.2.
Relational Database Management System(RDBMS) Structured Query Language(SQL)
SQL. What is a database? G a collection of data G Usually consists of entities and relations G An entity is an individual “object” that exists and is.
Basic SQL*Plus edit and execute commands SQL*Plus buffer and built-in editor holds the last SQL statement Statements are created in free-flow style and.
Oracle Developer. Create Table SQL> create table catalog ( 2 cno varchar2(7), 3 ctitle varchar2(50), 4 primary key (cno)); Table created. SQL> describe.
الفصل السادس لغة Structured Query Language) SQL الفصل السادس لغة Structured Query Language) SQL.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
Lecture # 24 Introduction to SQL Muhammad Emran Database Systems.
CS320 Web and Internet Programming SQL and MySQL Chengyu Sun California State University, Los Angeles.
CENG 351 File Structures and Data Management1 Relational Model Chapter 3.
Creating Database Objects
CS320 Web and Internet Programming SQL and MySQL
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
SQL OVERVIEW DEFINING A SCHEMA
نرم افزار گزارش ساز کارنیک
Session - 6 Sequence - 1 SQL: The Structured Query Language:
Turn on spool and save to file a.txt
Creating Database Objects
JDBC II IS
SQL (Structured Query Language)
Presentation transcript:

Batak Programming Language Design Perspective

Programming language Extreme opinions Proportional ones Blind fanatism DON’T CARE (they are just the same) Proportional ones Language is very important Communication is of utmost important Language is a means of communication (bad language => bad communication) No single language suits every needs A set of languages can suit every needs

7 language [style] s to fill every needs ? General purpose programming-language Database-oriented programming-language Shell programming-language Application-level scripting language (XML?) Assembly (style) programming-language Metalanguage (used in YACC) Binary-style (intermediate, machine)

May not be the category of language String processing (Perl, AWK) Internal language of document (PDF; internal format of Excel, Word documents) PCL (Printing Command Language) Logic programming-language Functional programming-language

Integration with relational database (1) Oracle SQL (real world) CREATE TYPE student AS OBJECT ( id NUMERIC(8), name VARCHAR(30) ); CREATE TABLE IT_students OF student; CREATE TABLE mech_students OF student;

Integration with relational database (2) Some SQL (?) CREATE TYPE student := { numeric<9> id; char[20] name; }; CREATE TABLE <student> IT_students, mech_students ( PRIMARY KEY {id} );

Integration with relational database (3) In Batak Program P; Type student := { numeric<9> id; char[20] name; }; Table<student> IT_students, mech_students ( PRIMARY KEY {id} ); integer main() { INSERT mech_students INTO IT_students; /* not INSERT INTO IT_students SELECT ... */ }