-
Book Overview & Buying
-
Table Of Contents
Google Web Toolkit 2 Application Development Cookbook
By :
In this recipe, we are going to create the table, Branch.
Start the MySQL Query Browser.
Double-click on Sales in Schemata to select the database.
Right-click on the Sales database and select Create New Table.
![]() |
In the Table Editor, specify the Column Name, Datatype, and other constraints, as shown in the following screenshot:
![]() |
A "key" symbol is present on the left-hand side of the BranchId column name. This is the symbol for Primary Key. To set a primary key, just click on the icon appearing on the left-hand side of the column name.
Click on Apply Changes to create the table.
Click on Close.
To create the Branch table from the Command Line Client, carry out the following steps:
Start MySQL Command Line Client.
Enter the Password.
Change the database to Sales by writing the following command:
USE Sales;
Execute the following command:
CREATE TABLE `sales`.`branch` (
`BranchId` int(10) unsigned NOT NULL,
`Name...
Change the font size
Change margin width
Change background colour

