Premium Essay

Sample Mysql Database

In:

Submitted By psychotic
Words 1451
Pages 6
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version 4.1.11-nt

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

--
-- Create schema henry
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ henry;
USE henry;

--
-- Table structure for table `henry`.`author`
--

DROP TABLE IF EXISTS `author`;
CREATE TABLE `author` ( `AUTHOR_NUM` decimal(2,0) NOT NULL default '0', `AUTHOR_LAST` char(12) default NULL, `AUTHOR_FIRST` char(10) default NULL, PRIMARY KEY (`AUTHOR_NUM`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `henry`.`author`
--

/*!40000 ALTER TABLE `author` DISABLE KEYS */;
INSERT INTO `author` (`AUTHOR_NUM`,`AUTHOR_LAST`,`AUTHOR_FIRST`) VALUES ('1','Morrison','Toni'), ('2','Solotaroff','Paul'), ('3','Vintage','Vernor'), ('4','Francis','Dick'), ('5','Straub','Peter'), ('6','King','Stephen'), ('7','Pratt','Philip'), ('8','Chase','Truddi'), ('9','Collins','Bradley'), ('10','Heller','Joseph'), ('11','Wills','Gary'), ('12','Hofstadter','Douglas R.'), ('13','Lee','Harper'), ('14','Ambrose','Stephen E.'), ('15','Rowling','J.K.'), ('16','Salinger','J.D.'), ('17','Heaney','Seamus'), ('18','Camus','Albert'), ('19','Collins, Jr.','Bradley'), ('20','Steinbeck','John'), ('21','Castelman','Riva'), ('22','Owen','Barbara'), ('23','O\'Rourke','Randy'), ('24','Kidder','Tracy'), ('25','Schleining','Lon');

Similar Documents

Free Essay

Step-by-Step Install Guide Liferay Portal Enterprise on Linux V1.0

...Global Open Versity Labs Step-by-Step Install Guide Enterprise Liferay Portal v1.0 Global Open Versity IT Systems Integration Hands-on Labs Training Manual Step by Step Install Guide Liferay Portal Enterprise on Linux Kefa Rabah Global Open Versity, Vancouver Canada krabah@globalopenversity.org www.globalopenversity.org Table of Contents Page No. STEP-BY-STEP INSTALL GUIDE LIFERAY PORTAL ENTERPRISE ON LINUX Part 1: Install JDK6 Part 2: Quick Liferay Portal Installation with Default HSQL Database Part 3: Install MySQL Database for Liferay Enterprise Step 1: Install and configure MySQL Database Server Part 4: Install Liferay for an Enterprise Step 1: Remove Default Bundled Sample Data Step 2: Create Portal.Ext.Properties File Part 5: Need More Training 2 3 4 6 6 7 8 8 11 © A GOV Open Knowledge Access Technical Academic Publications License Enhancing education & empowering people worldwide through eLearning in the 21st Century © April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada 1 www.globalopenversity.org ICT202 - Linux Enterprise Infrastructure Engineering Diploma Global Open Versity Labs Step-by-Step Install Guide Enterprise Liferay Portal v1.0 Global Open Versity IT Systems Integration Hands-on Labs Training Manual Step-by-Step Install Guide Liferay Portal Enterprise on Linux By Kefa Rabah, krabah@globalopenversity.org Feb 09, 2010 SerengetiSys Labs Project: your company – an enterprise business concern recently is deploying a new network infrastructure...

Words: 3512 - Pages: 15

Premium Essay

Web 407 Week 2

...Web 407 Week 3 Database Paper In the business world, most people will find a need for a database software program to store or house data pertaining to their business. There are however, multiple things to consider before one makes their final choice on what software they will be using. A few things that should be addressed are the type of software desired, either open-source or propriety, and what characteristics of the database meets the company’s needs. There are two basic types of database programs people can choose from when deciding what they want for their small business, an open-source database or a propriety one. While both of these are similar, they still have their advantages and disadvantages. First, consider what an open-source program is. The term open-source means exactly what it sounds like; the source code for the software is completely open and free to the public. Some advantages that come with this are the fact there is no upfront costs when it comes to obtaining the database program. While this sounds great, one needs to consider the tools the business has at its disposal. If you do not have the people to manage the databases and run them, then more employees must be hired in order to support the system. This can lead to more cost in the long run. So the fact that it’s free can also be a disadvantage. Another advantage to open-source database systems is a lot of them have a huge following such as MYSQL. MYSQL is database that is designed to use Standard...

Words: 917 - Pages: 4

Free Essay

I Dont Know About This

...------------------------------------------------- Best in Quality! Every Resume is different. Get yours made by our expert writers ------------------------------------------------- Also refer to our Free – Resume Samples, Resume Templates , Cover Letter, Resignation Letter, Job Alerts ------------------------------------------------- ------------------------------------------------- XYZ ------------------------------------------------- E-Mail: xyz ~ Mobile: -00000000 / 00000000 Seeking entry level assignment in Application Development with an organization of high repute. ------------------------------------------------- PROFILE SUMMARY * B.E in Information Technology from XYZ Institute of Technology, Indore. * Proficient in finding and resolving malfunctions, using exceptional technical and communication skills. * Ability to express technical concepts clearly to people with no technical background. * Worked on academic project Restaurant Billing System and Staff Management System. * Adept in database MySQL and Programming language JAVA and Internet Applications. * Conversant with Bootstrap 3, Drupal, Wordpress, Adobe Dreamweaver and Big Data Handoop. * An effective communicator with excellent interpersonal, logical thinking & analytical abilities. ------------------------------------------------- ACADEMIC PROJECTS Project Title : Restaurant Billing System Organization : Tata International Ltd. Platform Used :...

Words: 369 - Pages: 2

Premium Essay

Bus 112 Sql Lab 2 Solution

...homework is based on these two labs. Chapters 7 and 8 in the Coronel/Rob textbook use the database for a hardware store called SaleCo. Please review the following SaleCo relational diagram –you’ll need to refer to it when writing SQL queries. NOTES: (1) The LINE table stores data about details of each transaction. Suppose an invoice is for three different products that the customer purchased, the LINE table associated with that invoice will contain three lines with each line number listing invoice number, line number, product code, quantity of the product purchased (under LINE_UNITS column), and price of the product (under LINE_PRICE column). (2) In the PRORDUCT table, the P_QOH column indicates quantity on hand (quantity in stock) for each product; P_MIN column lists the minimum quantity, i.e., when quantity on hand gets down to this level, the product needs to be re-ordered; the P_DISCOUNT column lists price discount for the product - for example .07 would indicate a 7% discount. QUERY #1: Display vendor code and name for vendors from the following two States: Florida (FL) and Tennessee (TN). Sort the output in ascending order of vendor name. A sample (partial) query output looks like the following – your query should generate similar but complete output. MS Access: SELECT v_code as [Vendor Code], v_name as [Vendor Name] FROM VENDOR WHERE v_state = 'FL' OR v_state = 'TN'; MySQL: QUERY #2: Display product code, price, and dollar amount of discount on each product...

Words: 484 - Pages: 2

Premium Essay

A Microfinance Mis

...charting engine that lets you add charts to your own application (eclipse.org). With BIRT software, you can add a rich variety of reports to your application such as charts, crosstabs, lists, compound reports, and letterhead (eclipse.org). BIRT reports consist of four main parts, data, data transforms, business logic and presentation (eclipse.org). The sample database is available in two forms, the Apache Derby database, which is included in the BIRT download and the scripts to load a MySQL database. The schema is for Classic Models, a retailer of scale models of classic cars (eclipse.org). The sample database consists of eight tables. The tables are offices, employees, customers orders, order details, payments, products and product lines (eclipse.org). In conclusion, BIRT is a reporting tools running on the Eclipse and Tomcat combination. The BIRT sample database contains typical business data and provides a simple set of tables and data that form the basis for BIRT sample reports (eclipse.org). BIRT software is used to create and deploy graphically rich, parameter driven reports. References BIRT Overview BIRT Sample Database Retrieved from...

Words: 263 - Pages: 2

Free Essay

Software Based Digital Media Store

...Project Synopsis Project Title Database and Service oriented framework for supporting / powering large volume of data Project Category NNdfdf Web Services Location of Implementation Sardar Patel Institute of Technology, Munshi Nagar, Andheri(W), Mumbai-400 058 Mumbai-400 058 Number of Team-Members 2 Project Description This project is aimed at efficient accessing of a service oriented framework for supporting a voluminous database. This database is a large media database which would provide the client with media files using these framework services. The performance of these services is improved by adding caching mechanism to the system. Languages Used C, Memcache utility & library, PHP. Abstract Nowadays, efficacious accessibility of data stored in large databases is a major aspect of any system which needs to access data stored in such databases especially over the web. In this project report, we first study an existing service oriented framework for supporting a voluminous database created by Mime360. This database is a large media database which would provide the client with media files using these framework services. The main purpose of this system is to provide accessibility...

Words: 7023 - Pages: 29

Free Essay

Capital Market of Bangladesh

...site customers or donators. In this article, you’ll learn how to create a complete subscribe/unsubscribe application in PHP/MySQL with a standard Dreamweaver CS3 server and just one additional block of code. To use this application, a user signs up for a subscription on a site and receives a confirmation e-mail. The e-mail contains a link to unsubscribe, personalized for the user. In all, you’ll need to create five pages to achieve this functionality: * Subscribe.php: This page is comprised of a basic form that gathers an e-mail address and inserts a new record into the MySQL database. After the record is inserted the page is redirected to confirm_subscribe.php. * Confirm_subscribe.php: While the visitor sees a bit of text confirming his or her subscription on this page, a PHP function contained within e-mails the user a secondary confirmation, which contains a link to unsubscribe via the confirm_unsubscribe.php page. * Error_subscribe.php: This is an error page that displays if the e-mail attempt was not successful; it also contains a link to the subscribe.php page so another attempt can be made. * Confirm_unsubscribe.php: This page is displayed when the visitor requests to unsubscribe. It displays the user’s e-mail address and a form button to confirm the user’s wish to unsubscribe; when clicked the user’s record is deleted from the database and the visitor is redirected to the unsubscribe_complete.php page. * Unsubscribe_complete.php: The final page in the...

Words: 2239 - Pages: 9

Premium Essay

Data Base

...A Tutorial on Database Concepts, SQL using MySQL. Atlas Technologies Home This tutorial may be reproduced without any modifications to this document for non-commercial, non-profit purposes. All other forms of usage requires the permission of the author - Ranjan Chari, email: ranjan@atlasindia.com This tutorial aims to provide the reader with the following: •A lucid and quick understanding of databases, RDBMS and related jargon such as triggers, replication, procedures etc. •A clear understanding of how SQL works. •Lots of examples with SQL using MySQL that make understanding the process of contructing SQL queries easy and also using MySQL and to illustrate the mechanism of storing and retrieving information from databases. (If you find any errors, please send me an email and I'll promptly set it right. If there's something you'd like to see here let me know too.) -------------------------------------------------------------------------------- What's a database ? A database is a collection of data organized in a particular way. Databases can be of many types such as Flat File Databases, Relational Databases, Distributed Databases etc. -------------------------------------------------------------------------------- What's SQL ? In 1971, IBM researchers created a simple non-procedural language called Structured English Query Language. or SEQUEL. This was based on Dr. Edgar F. (Ted) Codd's design of a relational model for data storage...

Words: 6659 - Pages: 27

Free Essay

Snort

...Intrusion Detection Systems with Snort Advanced IDS Techniques Using Snort, Apache, MySQL, PHP, and ACID BRUCE PERENS’ OPEN SOURCE SERIES ◆ Managing Linux Systems with Webmin: System Administration and Module Development Jamie Cameron ◆ Implementing CIFS: The Common Internet File System Christopher R. Hertel ◆ Embedded Software Development with eCos Anthony J. Massa ◆ The Linux Development Platform: Configuring, Using, and Maintaining a Complete Programming Environment Rafeeq Ur Rehman, Christopher Paul ◆ Intrusion Detection Systems with Snort: Advanced IDS Techniques with Snort, Apache, MySQL, PHP, and ACID Rafeeq Ur Rehman Intrusion Detection Systems with Snort Advanced IDS Techniques Using Snort, Apache, MySQL, PHP, and ACID Rafeeq Ur Rehman Prentice Hall PTR Upper Saddle River, New Jersey 07458 www.phptr.com Library of Congress Cataloging-in-Publication Data A CIP catalog record for this book can be obtained from the Library of Congress. Editorial/production supervision: Mary Sudul Cover design director: Jerry Votta Cover design: DesignSource Manufacturing manager: Maura Zaldivar Acquisitions editor: Jill Harry Editorial assistant: Noreen Regina Marketing manager: Dan DePasquale © 2003 Pearson Education, Inc. Publishing as Prentice Hall PTR Upper Saddle River, New Jersey 07458 This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version...

Words: 52750 - Pages: 211

Free Essay

Name and Date

...Example Database for the Eclipse BIRT Project The current document provides a high level description of the Classic Models Inc. example database, which has been developed as part of the Eclipse BIRT (Business Intelligence Reporting Tools) project in order to support the BIRT report examples. Table of Contents Legal Notice 1 Introduction 1 Database Tables 2 Offices Table 2 Employees Table 2 Customers Table 2 Orders Table 2 OrderDetails Table 2 Products Table 2 Payments Table 2 ProductLines Table 2 Sample Data Trends 3 Target Database Systems and Migration 3 Legal Notice Copyright (c) 2005 Actuate Corporation. All rights reserved. This file and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at: http://www.eclipse.org/legal/epl-v10.html Contributors: Actuate Corporation - initial implementation Classic Models Inc. sample database developed as part of the Eclipse BIRT Project. For more information, see: http://www.eclipse.org/birt Introduction The Classic Models Inc. example database has been developed as part of the Eclipse BIRT (Business Intelligence Reporting Tools) project. Its main goal is to be obvious and simple, yet able to support a wide range of interesting report examples. The database represents a fictitious company: Classic Models Inc. which buys collectable model cars, trains, trucks, buses...

Words: 1483 - Pages: 6

Free Essay

Advanced Web Development

... According to TheConsumerCollective website (2010), “E-commerce spending continues to outpace analyst’s predictions… spending will reach $259 billion in 2014, and $278.8 billion by 2015” (Suetos, 2010). Over the past few years, customer confidence with online shopping has increased significantly. Customers feel more at ease with purchasing their products from online retailers than they did just years ago. This proposal will demonstrate the major components necessary for Kudler Fine Foods to begin offering their products online. It will discuss the database design, how the scripting language PHP will be set up to provide a “shopping cart” for ease of use, and illustrate a mockup of the online ordering pages. In addition, it will overview the use of data validations, and web standards. Database Design For Kudler to achieve success through the Internet, the company must choose a database created with MySQL. MySQL is an open source format that provides several benefits to a business entering the online retail world. First, the code...

Words: 3409 - Pages: 14

Premium Essay

Data Mining with R

...ltorgo@liacc.up.pt http://www.liacc.up.pt/∼ltorgo May 22, 2003 Preface The main goal of this book is to introduce the reader to the use of R as a tool for performing data mining. R is a freely downloadable1 language and environment for statistical computing and graphics. Its capabilities and the large set of available packages make this tool an excellent alternative to the existing (and expensive!) data mining tools. One of the key issues in data mining is size. A typical data mining problem involves a large database from where one seeks to extract useful knowledge. In this book we will use MySQL as the core database management system. MySQL is also freely available2 for several computer platforms. This means that you will be able to perform “serious” data mining without having to pay any money at all. Moreover, we hope to show you that this comes with no compromise in the quality of the obtained solutions. Expensive tools do not necessarily mean better tools! R together with MySQL form a pair very hard to beat as long as you are willing to spend some time learning how to use them. We think that it is worthwhile, and we hope that you are convinced as well at the end of reading this book. The goal of this book is not to describe all facets of data mining processes. Many books exist that cover this area. Instead we propose to introduce the reader to the power of R and data mining by means of several case studies. Obviously, these case studies do not represent all possible data mining...

Words: 18348 - Pages: 74

Free Essay

Introduction About Enrolment Grading System

...Course Management System Deployment A Report Submitted to: Project Advisor: Karen Lemone, WPI Professor By: Daniel Pickett __________________________ April 27th, 2006 This project report is submitted in partial fulfillment of the degree requirements of Worcester Polytechnic Institute. The views and opinions expressed herein are those of the authors and do not necessarily reflect the positions or opinions of Worcester Polytechnic Institute. This report is the product of an educational program, and is intended to serve as partial documentation for the evaluation of academic achievement. The reader should not construe the report as a working document. Abstract The WPI OfCourse! course management system provides educators with a set of tools to extend their existent course websites. While this toolset offers great functionality, the installation and configuration of the system is complex and difficult. The project team created a two-tiered installation package that is both simplified and easy to use. User testing was conducted and indicated a significant improvement in the installation procedure. In conclusion, the OfCourse! system was improved by the newly created installer. -i- Executive Summary As the web evolves and grows, educational professionals continue to pursue the use of online tools. While a variety of software exists, educators of average computer literacy seek a feature-rich application that is easy to install and use. Educators...

Words: 6392 - Pages: 26

Free Essay

Project

...UNIVERSITY OF NAIROBI SCHOOL OF COMPUTING AND INFORMATICS ONLINE VEGETABLES MARKET PRICE AND TRENDS SYSTEM SECOND YEAR FINAL PROJECT COURSE CODE: 227 NAME: MUIGUA STEPHEN GITAU ADM NO: P15/54335/2012 SUPERVISOR: ERIC AYIENGA   DECLARATION I, Muigua Stephen Gitau, do declare that this project is my own work, and as per my knowledge, it has not been submitted to any other institution of higher learning. Student’s Name: MUIGUA STEPHEN GITAU Registration No: P15/54335/2012 Signature: _________________________________________________________ Date: _________________________________________________________ This project has been submitted as a partial fulfillment of requirements for the Diploma in Computer Science of the University of Nairobi with my approval as the University Supervisor. Supervisor’s Name: Mr. ERIC AYIENGA Signature: ___________________________________________________________ Date: _______________________________________________________________   ACKNWOLEDGEMENT I thank almighty God; I thank Nairobi University of Kenya in Conjunction with the School of Computing and Informatics for facilities and resources they availed during execution of this project. I take this opportunity to express my sincere appreciation to my supervisor Mr. Ayienga and the entire Faculty of Computer Science for the exemplary guidance, monitoring and constant encouragement throughout the course. Lastly, I thank my parents, for their constant...

Words: 4782 - Pages: 20

Free Essay

Essay on Business Operations Management

...8956860531 Am I speaking to .... ? Hi I'm calling from Is it right time  to start interview? can we start? ur resume is in front of me u r from ... right? but we are based in pune, r u ready to move here   how many companies u have worked in till now? then why would u like to switch?     so far u have worked in (number) projects were they all in core php? if not then in what other framework? then ask about that framework so u have experiance in oop then ask oop questions then go to php questions then go to my sql then js     I think thats all we need our hr will get back to u with the decision/result but before that may i know ur current ctc and expected ctc? and is it negotiable? PHP: 1) What is use of header() function in php ? The header() function sends a raw HTTP header to a client.We can use herder() function for redirection of pages. It is important to notice that header() must be called before any actual output is seen.. 2) what does the error message "header already sent" mean? Ques: 10 How we can upload videos using PHP? Ans: When want to upload videos using PHP we should follow these steps: 1.first you have to encrypt the the file which you want to upload by using "multipart-form-data" to get the $_FILES in the form submition. 2.After getting the $_FILES['tmp_name'] in the submition 3.By using move_uploaded_file (tmp_location,destination) function in PHP we can move the file from original location. 3) What is the difference...

Words: 5893 - Pages: 24