sql assignment help myassignmenthelp.net

13
www.myassignmenthe lp.net

Upload: wwwmyassignmenthelpnet

Post on 09-Jun-2015

84 views

Category:

Education


1 download

DESCRIPTION

We provide databases assignment help on SQL, SQL server, Oracle, MYSQL and many more. So, you can relax and focus on your curriculum because we are there to help you complete your database assignment before the specified time with all the necessary details. Our service is available 24*7 and with the minimum pay you can get database assignment help from our experts.We help you advance with time, so all the information provided to you are certainly correct and the content is free from any kind of plagiarism. So, trust on us and we are always ready to assist you in all the possible ways http://www.myassignmenthelp.net/sql-assignment-help.php

TRANSCRIPT

Page 2: SQL Assignment Help myassignmenthelp.net

SQL Introduction

• SQL stands for “Structured Query Language” and can be pronounced as “SQL” or “sequel – (Structured English Query Language)”. Defined, SQL is a query language used for accessing and modifying information in one or more data tables and rows of a database.

Page 3: SQL Assignment Help myassignmenthelp.net

SQL Database Design

• IBM first developed SQL in 1970s. Also it is an ANSI/ISO standard. It has become a Standard Universal Language used by most of the relational database management systems (RDBMS). Some of the RDBMS systems are: Oracle, Microsoft SQL server, Sybase etc. Most of these have provided their own implementation extensions, thus enhancing their RDBMS system features and making it a powerful tool. These RDBMS systems, all use the popular SQL commands SELECT, UPDATE, DELETE, INSERT, WHERE in similar format.

Page 4: SQL Assignment Help myassignmenthelp.net

SQL Database Table

• SQL database is constructed of a number of tables. In a business, SQL tables would be used to divide and simplify the different areas of the operation: Table for Customers, one for Vendors, Employees and so on.

Page 5: SQL Assignment Help myassignmenthelp.net

SQL Database Table Columns

• Each SQL table is made up of a number of columns, referred to as fields and run along the top of the table. SQL columns or fields have their content (object/data/info) defined into character types; such as text, date, numeric, integer, length to name a few.

Page 6: SQL Assignment Help myassignmenthelp.net

SQL Database Table Rows

• Each SQL table row, referred to a record, is located in the left column of the table. Sql record row will contain a string of data containing data matching up to each column field across the top. So, in a "Customer table" each "customer record" would consist of one row with data for the customer ID number, customer name, address, phone ...email and so on.

Page 8: SQL Assignment Help myassignmenthelp.net

My SQL Database• In a simple manner, SQL is a non-procedural, English-like language that processes data in groups of records rather than one record at a time. Few SQL functions of are:• store data•modify data• retrieve data•modify data• delete data• create tables and other database objects• delete data

Page 9: SQL Assignment Help myassignmenthelp.net

SQL Views

• A VIEW is a virtual table, through which a selective portion of the data from one or more tables can be seen. Views do not contain data of their own. They are used to restrict access to the database or to hide data complexity. A view is stored as a SELECT statement in the database. DML operations on a view like INSERT, UPDATE, DELETE affects the CREATE VIEW view_name AS SELECT column_list FROM table_name [WHERE condition]; data in the original table upon which the view is based.

Page 10: SQL Assignment Help myassignmenthelp.net

SQL INSERT Statement

• The INSERT Statement is used to add new rows of data to a table.

Syntax for SQL INSERT is:INSERT INTO TABLE_NAME [ (col1, col2, col3,...colN)] VALUES (value1, value2, value3,...valueN);col1, col2,...colN -- the names of the columns in the table into which you want to insert data.

Page 11: SQL Assignment Help myassignmenthelp.net

SQL UPDATE Statement

• The UPDATE Statement is used to modify the existing rows in a table.• The Syntax for SQL UPDATE Command is:UPDATE table_name SET column_name1 = value1, column_name2 = value2, ... [WHERE condition] • table_name - the table name which has to be updated.• column_name1, column_name2.. - the columns that gets changed.• value1, value2... - are the new values.

Page 12: SQL Assignment Help myassignmenthelp.net

SQL Delete Statement

• The DELETE Statement is used to delete rows from a table.• Syntax of a SQL DELETE Statement

DELETE FROM table_name [WHERE condition];

table_name -- the table name which has to be updated.

Page 13: SQL Assignment Help myassignmenthelp.net

QUERY

www.myassignmenthelp.net