This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| drop table if exists Sales; | |
| drop table if exists SalesRep; | |
| drop table if exists Product; | |
| drop table if exists Category; | |
| drop table if exists Manufacturer; | |
| create table Manufacturer ( | |
| id INT NOT NULL AUTO_INCREMENT | |
| , name VARCHAR(50) | |
| , PRIMARY KEY (id) | |
| ) ENGINE=INNODB; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create database MovieEngagement; | |
| connect MovieEngagement; | |
| create table Theater ( | |
| id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, | |
| name VARCHAR(50) NOT NULL | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
| create table Screen ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- start the server: $ mysqld --console | |
| -- login: $ mysql -u root --password=wxyz | |
| -- run the script: mysql> source /Users/javapro/dev/src/sql/Cookbook.sql | |
| -- the script: | |
| drop database if exists Cookbook; | |
| create database Cookbook; | |
| connect Cookbook; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #=============================================================================== | |
| # | |
| # FILE: iso2wbfs | |
| # | |
| # USAGE: ./iso2wbfs [option] FILE... [wbfs directory] | |
| # | |
| # DESCRIPTION: Uses wit to convert one or more Wii ISO into a WBFS file | |
| # properly named for use on non-WBFS partitions. | |
| # |
NewerOlder