- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Marc Delisle
- 140字
- 2021-08-20 15:55:26
Creating an additional table
In our (simple) design, we know that we need another table—the author table. The author table will contain:
- Author identification
- Full name
- Phone number
To create this table, we go back to the Database
view for marc_book and request the creation of another table with three columns as indicated in the following screenshot:

Using the same techniques used when creating the first table, we type this in:

As we have three columns or less, the display is now in vertical mode (refer to the Vertical mode section in Chapter 5 for more details).
The column name id, which is our primary key in this new table, relates to the author_id
column from the book
table. After saving the table structure, we enter some data for authors 1 and 2. Use your imagination for this!
推薦閱讀
- Boost.Asio C++ Network Programming(Second Edition)
- Android Jetpack開發:原理解析與應用實戰
- Windows系統管理與服務配置
- Django:Web Development with Python
- MATLAB實用教程
- SSM輕量級框架應用實戰
- Elasticsearch Server(Third Edition)
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- 大模型RAG實戰:RAG原理、應用與系統構建
- Building Serverless Web Applications
- Android Studio Cookbook
- Mastering ASP.NET Core 2.0
- Android嵌入式系統程序開發(基于Cortex-A8)
- Clojure Data Structures and Algorithms Cookbook
- WCF編程(第2版)