Get the App
SLTechnology News&Howtos  ›  Database  › 

Database MySQL create table definition primary key (required for beginners)

Shulou Source: shulou.com Published: 2022-06-01 05:32:40 09月27日 Update

Use the wampsever64 console to create a datasheet to define the primary key

Method 1:

At this time, there will be a problem with single quotation marks, so use this in single quotation marks.

After the change, the problem will be solved.

Method 2:

There will be no single quotation mark problem after defining the primary key in this field.

Note:

Using the wampsever64 console to define primary key FAQs if you use method one: there will be a single quotation mark problem, there will be no problem with method two. If you define the primary key at the end, there will be a "method one" problem. If you define the primary key at the end of this field, it will not be like "method two".

Tags: Questions methods quotes fields console controls data FAQs datasheets endings databases novices Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft Redmi Shulou Technology NVidia