Microsoft SQL Server 1. Import Data From Excel Spreadsheet 2

Slides:



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

Database Ed Milne. Theme An introduction to databases Using the Base component of LibreOffice LibreOffice.
Extern name server - translates addresses of s messages - enables users to use aliases - … ID cards system - controls entrance to buildings,
Mr Greenhalgh S4 Computing Int 1 Things you could do with knowing before the Exam…
Module 4: Creating Data Types and Tables. Overview Creating Data Types Creating Tables Generating Column Values Generating Scripts.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
DT211 Stage 2 Databases Lab 1. Get to know SQL Server SQL server has 2 parts: –A client, running on your machine, in the lab. You access the database.
SQLite 1 CS440. What is SQLite?  Open Source Database embedded in Android  SQL syntax  Requires small memory at runtime (250 Kbytes)  Lightweight.
Phonegap Bridge – File System CIS 136 Building Mobile Apps 1.
Database terms Mr. Brunton.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Overview of SQL Server Alka Arora.
ASP.NET Programming with C# and SQL Server First Edition
Concepts of Database Management Seventh Edition
Introduction to database systems
Simple Database.
Section 2 Software.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Chapter 7 SQL HUANG XUEHUA. SQL SQL server2005 introduction Install components  management studio.
1 Working with MS SQL Server Textbook Chapter 14.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
Chapter 4 Introduction to MySQL. MySQL “the world’s most popular open-source database application” “commonly used with PHP”
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Module 3: Creating Data Types and Tables. Overview Working with Data Types Working with Tables Generating Column Values Generating Scripts.
ICS 321 Fall 2010 SQL in a Server Environment (i) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 11/1/20101Lipyeow.
ITGS Databases.
DAT602 Database Application Development Lecture 2 Review of Relational Database.
SQL Server 2005 Implementation and Maintenance Chapter 3: Tables and Views.
● A system of Internet servers that support specially formatted documents. The documents are formatted in a markup language called HTML. What is the World.
Visual Programing SQL Overview Section 1.
Mobile Software Development ISCG 7424 Department of Computing UNITEC John Casey and Richard Rabeder SQLite and Permissions.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Introduction to MySQL Ullman Chapter 4. Introduction MySQL most popular open-source database application Is commonly used with PHP We will learn basics.
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
Simple Queries DBS301 – Week 1. Objectives Basic SELECT statement Computed columns Aliases Concatenation operator Use of DISTINCT to eliminate duplicates.
 MySQL is a database system used on the web  MySQL is a database system that runs on a server  MySQL is ideal for both small and large applications.
CS242 SQL. What is SQL? SQL:  stands for Structured Query Language  allows you to access a database  is an ANSI standard computer language  can execute.
N5 Databases Notes Information Systems Design & Development: Structures and links.
3 A Guide to MySQL.
Aga Private computer Institute Prepared by: Srwa Mohammad
Creating Database Objects
Fundamentals of Database
Managing Tables, Data Integrity, Constraints by Adrienne Watt
Module 2: Creating Data Types and Tables
Accidental DBA Developer Edition
Data Definition and Data Types
Lesson 7 Managing Data Creating a database with Web Matrix.
Created by Kamila zhakupova
Directions: GO THROUGH THE FOLLWING SLIDES. Make sure you have quizlet cards for all the vocabulary. Study the terms.
ISC440: Web Programming 2 Server-side Scripting PHP 3
System And Application Software
Directions: GO THROUGH THE FOLLWING SLIDES. Make sure you have quizlet cards for all the vocabulary. Study the terms GCFLearnFree website “Computer Basics”:
What is Database? A database is a collection of data with defined structure and purpose. Data can easily be accessed, managed, and updated. Data can be.
What Are Databases? Organized by Dr. Farrokh Alemi PhD
PHP and MySQL.
Information Technology Ms. Abeer Helwa
PT2520 Unit 5: Physical Design
Introduction to Access
Digital Literacy 1.00 Computer Basics
Creating Database Objects
Lecture 2 Lecturer: awdang aziz MS access
SQL (Structured Query Language)
CS4540 Special Topics in Web Development SQL and MS SQL
Presentation transcript:

Microsoft SQL Server 1. Import Data From Excel Spreadsheet 2 Microsoft SQL Server 1. Import Data From Excel Spreadsheet 2. Creating New Table and Query Instruction Consult America Technology Consulting Services

Microsoft SQL Server Microsoft SQL Server: Microsoft SQL Server is a relational database management system developed by  Microsoft. As a database server, it is a software product with the primary function of storing and retrieving data as requested by other software applications which may run either on the same computer or on another computer across a network (including the Internet). GUID: Graphics User Interface Development Free Download Microsoft SQL Server 2014 video URL: https://www.youtube.com/watch?v=tNMA41lyq8M&t=17s

Microsoft SQL Server 1. Import Data From Excel Spreadsheet Step by Step: (1) Launch the application (2) Connect EXPORT

Microsoft SQL Server (3) Create new data table ”Employees” (4) Import data table (5) Import step (6) Import step

Microsoft SQL Server (7) Import step (8) Import step (9) Import step (10) Import step

Microsoft SQL Server (11) Import step (12) Import step (13) Import step (14) Import step

Microsoft SQL Server (15) Import step (16) Import successful (17) Refresh (F5) (18) Check data table

Microsoft SQL Server (19) Connect and Execute (20) View imported full table

Microsoft SQL Server (20) For example: Find out those employees who have commission? SELECT first_name,last_name, salary, commission_pct, salary+salary*commission_pct FROM Employees.dbo.export WHERE commission_pct is not NULL; Find out the top 10 salaried employees? SELECT first_name,last_name, salary FROM (SELECT first_name, last_name, salary FROM Employees.dbo.export ORDER BY salary DESC) WHERE rownum<=10; Find out those employees who get more then avg salary? FROM Employees.dbo.export WHERE salary>(SELECT AVG(salary) FROM Employees.dbo.export);

Microsoft SQL Server Find out departments who do not have employees? (SELECT e.first_name,e.last_name,e.department_id, d.department_name FROM employees.dbo.export e, departments d WHERE e.department_id(+)=d.department_id) MINUS WHERE e.department_id=d.department_id); Find out managers of the employees? SELECT e.first_name employee_first_name, e.last_name employee_last_name, m.first_name manager_first_name, m.last_name manager_last_name FROM Employees.dbo.export e, Employees.dbo.export m WHERE m.employee_id=e.manager_id

Microsoft SQL Server 2. Creating New Table and Query Instruction : The following is the creation of "Library management system“ database process Library DB(database)

Microsoft SQL Server Library DB Create new file (data table): Create new folder(database): Library DB Create new file (data table): dbo.BorrowBook dbo.Studen dbo.Book dbo.Press dbo. Book Type dbo.Author

Microsoft SQL Server 1. Binary Data Type (Binary, Varbinary, Image) SQL Data Type : 1. Binary Data Type (Binary, Varbinary, Image) 2. Character Data Type (Char, Varcher, Text) 3. Unicode (Nchar, Nvarchar, Ntext) 4. Date and Time Date Types (Date Time, Small Date Types) 5. Digital Data Types (Int, Smallint, Tingint, Decimal, Numeric) 6. Money Data Types (Money, Small money) 7. Special Data Types (Time Stamp, Bit, Unique identifier)

Microsoft SQL Server Create student data table: (student data table structure) SQL data table type:

Microsoft SQL Server Create Data table: dbo.BorrowBook dbo.Student dbo.Book

Microsoft SQL Server dbo.Press dbo. Book Type dbo.Author

Microsoft SQL Server 1. Query name is "Mike" student ID, mobile number and e-mail address. 2. Query name is not called "Mike" student ID, mobile and e-mail address.

Microsoft SQL Server 3. Check out between the ages of 20-25 the students ID and names. 4.Discover students who do not fill out the "age" of information. 5. Query name is "Mike", "John", "Bob" of the student ID and age.

Microsoft SQL Server 6. Query which student to borrow books 7. Statistics for each category in the highest price: (using nested queries)

Microsoft SQL Server 8. Query students to borrow books from more than two books: (using nested queries) 9.Export Data Table

Microsoft SQL Server More query..... 10. The author of the most books on the query More query.....

THANKYOU