Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
CREATE - Part II | CRUD Operations with MySQL
Introduction to .NET with C#

CREATE - Part IICREATE - Part II

Important Points:

  • The general syntax of the INSERT statement is INSERT INTO table_name (column1, column2, …) VALUES (value1, value2, …);
  • We can use the PRIMARY KEY keyword to convert a column into a primary key;
  • The AUTO_INCREMENT keyword is used to make a column automatically assign incremented values to new rows. This can only be applied to columns that are INT or INT-based data types.
1. Which of the following are correct for creating a table with a primary key which auto increments?
2. What is the correct syntax for inserting new rows into an existing table?

Which of the following are correct for creating a table with a primary key which auto increments?

Виберіть правильну відповідь

What is the correct syntax for inserting new rows into an existing table?

Виберіть правильну відповідь

Все було зрозуміло?

Секція 4. Розділ 5
course content

Зміст курсу

Introduction to .NET with C#

CREATE - Part IICREATE - Part II

Important Points:

  • The general syntax of the INSERT statement is INSERT INTO table_name (column1, column2, …) VALUES (value1, value2, …);
  • We can use the PRIMARY KEY keyword to convert a column into a primary key;
  • The AUTO_INCREMENT keyword is used to make a column automatically assign incremented values to new rows. This can only be applied to columns that are INT or INT-based data types.
1. Which of the following are correct for creating a table with a primary key which auto increments?
2. What is the correct syntax for inserting new rows into an existing table?

Which of the following are correct for creating a table with a primary key which auto increments?

Виберіть правильну відповідь

What is the correct syntax for inserting new rows into an existing table?

Виберіть правильну відповідь

Все було зрозуміло?

Секція 4. Розділ 5
some-alt